コンフィグレーションガイド Vol.3
隣接ルータのIPアドレス(Address),隣接状態(State),ルータID(Router ID),Priorityの確認は,運用コマンドshow ip ospf neighborで行います。
OSPFインタフェースでは,指定ルータ(Designated Router)とそのほかのルータの間で,隣接関係を確立します。この進行状況は,隣接状態によって確認できます。
隣接関係が確立された場合,隣接状態はFullになります。Fullでない状態では,隣接関係を確立している途中であり,そのインタフェースではOSPF経路を学習しません。
詳細は,運用コマンドshow ip ospf interfaceまたはshow ip ospf neighbor detailで確認します。インタフェース状態(State)やNetwork Type,隣接ルータとの接続性を確認できます。
- Network TypeのOSPFネットワーク種別が隣接ルータのOSPFネットワーク種別と同じであることを確認してください。
- インタフェースの状態がDRまたはP to Pの場合,Neighbor List内の全隣接ルータ状態がFullとなっていることを確認してください。
- Fullでない場合,隣接ルータとの隣接関係が確立していません。隣接ルータを調査してください。
- インタフェースの状態がBackupDRまたはDR Otherの場合,Neighbor List内よりDRとなる隣接ルータが存在するか確認してください。
- DRが存在し,DRの隣接ルータ状態がFullでない場合,DRとの隣接関係が確立していません。隣接ルータを調査してください。
- DRが存在しない場合は,自装置および隣接ルータのPriorityが設定されていない可能性があります。自装置および隣接ルータのPriorityを確認してください。
図10-9 show ip ospf neighborコマンドの実行結果
>show ip ospf neighbor Date 20XX/07/14 12:00:00 UTC Domain: 1 Area: 0 Address State RouterID Priority Interface 172.16.10.11 Full/BackupDR 172.16.1.1 1 172.16.10.10 172.16.10.12 Full/DR Other 172.16.1.2 1 172.16.10.10 172.126.110.111 Exch Start/BackupDR 172.126.123.111 1 172.126.120.130図10-10 show ip ospf interfaceコマンド(IPアドレス指定)の実行結果
>show ip ospf interface 192.168.50.1 Date 20XX/05/30 12:00:00 UTC Domain: 1 Index: 2, Name: VLAN0010, Address: 192.168.50.1, State: P to P Auth Type: Simple MTU: 1436, DDinPacket: 70, LSRinPacket: 117, ACKinPacket: 70 Router ID: 192.168.50.1, Network Type: P to P Area: 0, DR: none, Backup DR: none Priority: 0, Cost: 1 Transmit Delay: 1s Intervals: Hello: 10s, Dead: 40s, Retransmit: 5s Neighbor List (1): Address State RouterID Priority DR Backup DR 192.168.50.2 Full 192.168.50.2 0 none none >図10-11 show ip ospf neighbor コマンド(detail)の実行結果
>show ip ospf neighbor detail Date 20XX/05/30 12:00:00 UTC Domain: 1 Area: 0 Interface Address: 172.16.10.10, Interface State: BackupDR Interface Name: VLAN0020 Neighbor Router ID: 172.16.1.1, Neighbor State: Full/DR Neighbor Address: 172.16.10.11, Priority: 1, Poll Interval: 0s Last Hello: 6s, Last Exchange: 45d 12h DR: 172.16.10.11, Backup DR: 172.16.10.10 DS: 0, LSR: 0, Retrans: 0, <Master> Neighbor Router ID: 172.16.1.2, Neighbor State: Full/DR Other Neighbor Address: 172.16.10.12, Priority: 1, Poll Interval: 0s Last Hello: 3s, Last Exchange: 1s DR: 172.16.10.11, Backup DR: 172.16.10.10 DS: 0, LSR: 0, Retrans: 0, <> >
All Rights Reserved, Copyright(C), 2011, 2020, ALAXALA Networks, Corp.