OSPFのコマンド(詳細)(show ip ospf interface)


基本構文

Router# show ip ospf interface

または、特定のインターフェイスを指定する場合:

Router# show ip ospf interface GigabitEthernet0/0

出力例

Router# show ip ospf interface GigabitEthernet0/0
GigabitEthernet0/0 is up, line protocol is up
  Internet Address 192.168.1.1/24, Area 0
  Process ID 1, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 1
  Transmit Delay is 1 sec, State DR, Priority 1
  Designated Router (ID) 1.1.1.1, Interface address 192.168.1.1
  Backup Designated router (ID) 2.2.2.2, Interface address 192.168.1.2
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    Hello due in 00:00:08
  Neighbor Count is 1, Adjacent neighbor count is 1
    Adjacent with neighbor 2.2.2.2  (Backup Designated Router)

各項目の説明

項目意味
GigabitEthernet0/0 is up, line protocol is upインターフェイスの物理・論理状態
Internet Address 192.168.1.1/24, Area 0IPアドレスと所属エリア
Process ID 1, Router ID 1.1.1.1OSPFプロセス番号とルータID
Network Type BROADCASTネットワークタイプ(Broadcast, Point-to-Point, NBMAなど)
Cost: 1OSPFコスト(経路選択の重み)
State DRこのルータがDR(指定ルータ)であることを示す
Priority 1DR/BDR選出時の優先度(0なら選出対象外)
Designated Router (ID) / Backup Designated Router (ID)DRとBDRの情報
Timer intervals configuredHello、Dead、Wait、RetransmitなどのOSPFタイマー設定
Neighbor Count / Adjacent neighbor count隣接関係にあるルータの数
Adjacent with neighbor 2.2.2.2ネイバーのルータIDと状態