コンフィグレーションガイド Vol.3


19.5.3 隣接ルータ情報の確認

隣接ルータのリンクローカルアドレス(Neighbor Address),隣接状態(State),ルータID(Router ID),Priorityは,show ipv6 ospf neighborコマンドで確認します。

OSPFv3インタフェースでは,指定ルータ(Designated Router)とそのほかのルータの間で隣接関係を確立します。この進行状況は,隣接状態によって確認できます。

隣接関係が確立した場合,隣接状態はFullになります。Fullでない状態では,隣接関係を確立している途中であり,そのインタフェースではOSPFv3経路を学習しません。

詳細は,show ipv6 ospf interfaceまたはshow ipv6 ospf neighbor detailコマンドで確認します。インタフェース状態(State)やNetwork Type,隣接ルータとの接続性を確認できます。

図19‒7 show ipv6 ospf neighborコマンドの実行結果
>show ipv6 ospf neighbor
Date 20XX/03/14 12:00:00 UTC
Domain: 1
Area: 0
Neighbor Address          State               Router ID   DeadTime Interface
fe80::212:e2ff:fe86:5303  Full/BackupDR       172.16.10.12      10 Eth1/3
fe80::212:e2ff:fe86:5304  Full/DR Other       172.16.10.13      20 Eth1/3
fe80::212:e2ff:fe86:5305  Exch Start/DR Other 172.26.10.14       5 Eth1/3
図19‒8 show ipv6 ospf interfaceコマンド(個別インタフェース指定)の実行結果
>show ipv6 ospf interface gigabitethernet 1/1
Date 20XX/05/30 12:00:00 UTC
Domain: 1
Area: 0
Interface ID: 2,Link Local Address : fe80::212:e2ff:fe86:5300%Eth1/1
    IPv6 Address: -
    MTU: 1460, DDinPacket: 71, LSRinPacket: 120, ACKinPacket:72
    Router ID: 172.16.1.1, Network Type: P to P, State: P to P
    DR: none, Backup DR: none
    Priority: 0, Cost: 1, Instance: 0
    Transmit Delay: 1s
    Intervals:
        Hello: 10s, Dead: 40s, Retransmit: 5s
 
  Neighbor List (1):
    Address                     State        Router ID         Priority
    fe80::212:e2ff:fe86:5301    Full         172.16.1.2           0
>
図19‒9 show ipv6 ospf neighborコマンド(detailパラメータ指定)の実行結果
>show ipv6 ospf neighbor detail
Date 20XX/05/30 12:00:00 UTC
Domain: 1
Area: 0
Interface: Eth1/2, Interface State: Backup DR
    Neighbor Address: fe80::212:e2ff:fe86:5302, State: Full/DR
    Neighbor Router ID: 172.16.10.11, Priority: 1
    Neighbor Interface ID: 2
    DR: 172.16.10.11, Backup DR: 172.16.10.10
    DeadTime: 6s, Up: 45d 12h, Adjacent: 45d 12h
    Last Hello: 6s, Last Exchange: 45d 12h
    DS: 0, LSR: 0, Retrans: 0, <Master>
    Track Name: -, Track ID: -, Track State: -
    Neighbor Address: fe80::212:e2ff:fe86:5312, State: Full/DR Other
    Neighbor Router ID: 172.16.10.12, Priority: 1
    Neighbor Interface ID: 404
    DR: 172.16.10.11, Backup DR: 172.16.10.10
    DeadTime: 36s, Up: 10d 12h, Adjacent: 10h 11m
    DS: 0, LSR: 0, Retrans: 1, <>
    Track Name: -, Track ID: -, Track State: -
>