# show ip ospf

モード
  非特権EXECモード
カテゴリー
  IP / 経路制御（OSPF）

## 構文

コマンド構文

`> show ip ospf [<0-65535>]`

## コマンド説明

OSPFルーティングプロセスの情報を表示する。

## パラメーター

`<0-65535>`
  OSPFルーティングプロセスID。省略時は稼働中のすべてのプロセスが対象となる

## 使用例

    awplus> show ip ospf
     Routing Process "ospf 0" with ID 1.1.1.1
     Process uptime is 2 hours 16 minutes
     Process bound to VRF default
     Conforms to RFC2328, and RFC1583Compatibility flag is disabled
     Supports only single TOS(TOS0) routes
     Supports opaque LSA
     Supports Graceful Restart
     This router is an ABR, ABR Type is Alternative Cisco (RFC3509)
     SPF schedule delay 5 secs, Hold time between two SPFs 10 secs
     Refresh timer 10 secs
     Number of incomming current DD exchange neighbors 0/5
     Number of outgoing current DD exchange neighbors 0/5
     Number of external LSA 2. Checksum 0x004005
     Number of opaque AS LSA 0. Checksum 0x000000
     Number of router LSA 7
     Router LSA database is unlimited.
     Number of network LSA 2
     Network LSA database is unlimited.
     Number of non-default summary LSA 11
     Summary LSA database is unlimited.
     Number of asbr summary LSA 3
     ASBR Summary LSA database is unlimited.
     Number of non-default external LSA 2
     External LSA database is unlimited.
     Number of LSA originated 36
     Number of LSA received 195
     Number of areas attached to this router: 2
        Area 0 (BACKBONE)
            Number of interfaces in this area is 2(2)
            Number of fully adjacent neighbors in this area is 3
            Area has no authentication
            SPF algorithm last executed 00:05:36.487 ago
            SPF algorithm executed 30 times
            Number of LSA 12. Checksum 0x04f86a
        Area 1
            Number of interfaces in this area is 1(1)
            Number of fully adjacent neighbors in this area is 2
            Number of fully adjacent virtual neighbors through this area is 1
            Area has no authentication
            SPF algorithm last executed 02:00:13.669 ago
            SPF algorithm executed 6 times
            Number of LSA 11. Checksum 0x06124e

## 注意・補足事項

本機能の設定を行う際は、あらかじめOSPFサービスを有効にしておくこと（service ospfコマンド）。

## 関連コマンド