[index] CentreCOM x320シリーズ コマンドリファレンス 5.5.5

# show ip ospf interface

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

`> show ip ospf interface [IFNAME]`

OSPFインターフェースの情報を表示する。

### パラメーター

`IFNAME` | インターフェース名。省略時はすべてのOSPFインターフェースが対象となる

### 使用例

    awplus> show ip ospf interface ↓
    vlan10 is up, line protocol is up
      Internet Address 172.16.10.1/24, Area 0.0.0.0, MTU 1500
      Process ID 0, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 10
      Transmit Delay is 1 sec, State Backup, Priority 1
      Designated Router (ID) 2.1.1.1, Interface Address 172.16.10.2
      Backup Designated Router (ID) 1.1.1.1, Interface Address 172.16.10.1
      Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
        Hello due in 00:00:02
      Neighbor Count is 2, Adjacent neighbor count is 2
      Crypt Sequence Number is 1183436467
      Hello received 3683 sent 1843, DD received 30 sent 43
      LS-Req received 9 sent 8, LS-Upd received 216 sent 158
      LS-Ack received 292 sent 131, Discarded 13
    vlan20 is up, line protocol is up
      Internet Address 172.21.10.1/24, Area 0.0.0.1, MTU 1500
      Process ID 0, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 10
      Transmit Delay is 1 sec, State DR, Priority 1
      Designated Router (ID) 1.1.1.1, Interface Address 172.21.10.1
      Backup Designated Router (ID) 1.1.1.2, Interface Address 172.21.10.2
      Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
        Hello due in 00:00:04
      Neighbor Count is 2, Adjacent neighbor count is 2
      Crypt Sequence Number is 1183431533
      Hello received 5056 sent 1843, DD received 4 sent 6
      LS-Req received 2 sent 2, LS-Upd received 122 sent 157
      LS-Ack received 278 sent 61, Discarded 2

### 注意・補足事項

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

### 関連コマンド

ip ospf cost（インターフェースモード）

(C) 2020 - 2025 アライドテレシスホールディングス株式会社

PN: 613-002827 Rev.AB