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


30.3.3 プロトコルの確認

〈この項の構成〉

(1) スタティックルーティングの確認

show ip staticコマンドまたはshow ipv6 staticコマンドでgatewayパラメータを指定して,BFD監視の設定に使用したトラック名,およびBFDセッションに対応するトラックIDとトラック状態を表示します。ゲートウェイに対応するBFDセッションは,show bfd sessionコマンドでゲートウェイのIPアドレスを指定して確認してください。

図30‒8 show ip static gatewayコマンドの実行結果
> show ip static gateway
Date 20XX/03/14 12:00:00 UTC
Gateway         Status  Success     Failure     Transition
10.1.1.50       IFdown  -           -           - 
10.1.1.100      -       -           -           - 
10.2.1.100      Reach   -           0/4         13m 39s 
10.2.1.101      UnReach 1/2         -           21s
172.16.1.100    -       -           -           -
172.16.2.100    -       -           -           -
 
Track gateway
Gateway         Name                           ID   Status   Transition
172.16.1.100    BFD001                         3    Up       53s
>

(2) OSPF隣接情報の確認

show ip ospfコマンドまたはshow ipv6 ospfコマンドでneighbor detailパラメータを指定して,設定したトラック名,およびBFDセッションに対応するトラックIDとトラック状態を表示します。対応するBFDセッションは,show bfd sessionコマンドで隣接ルータのIPアドレスを指定して確認してください。

図30‒9 show ip ospf neighbor detailコマンドの実行結果
> show ip ospf neighbor detail
Date 20XX/07/10 18:37:50 UTC
 
Domain: 1
Area: 0
Interface Address: 172.16.10.10, Interface State: BackupDR
    Interface Name: Eth1/2
    Neighbor Router ID: 172.16.1.1, Neighbor State: Full/DR
    Neighbor Address: 172.16.10.11, Priority: 1, Poll Interval: 0s
    DeadTime: 6s, Up: 1d 12h, Adjacent: 1d 12h
    DR: 172.16.10.11, Backup DR: 172.16.10.10
    DS: 0, LSR: 0, Retrans: 0, <Master>
    Track Name: BFD001, Track ID: 1, Track State: Up
>

(3) BGP隣接情報の確認

show ip bgpコマンドまたはshow ipv6 bgpコマンドでneighbors detailパラメータを指定して,設定したトラック名,およびBFDセッションに対応するトラックIDとトラック状態を表示します。ピアに対応するBFDセッションは,show bfd sessionコマンドでピアのIPアドレスを指定して確認してください。

図30‒10 show ip bgp neighbors detailコマンドの実行結果
> show ip bgp neighbors detail
Date 20XX/07/10 18:37:50 UTC
BGP Peer: 172.16.2.2, Remote AS: 65531
Remote Router ID: 172.16.2.20, Peer Group: INTERNAL-GROUP
    BGP Status:Established          HoldTime: 90   , Keepalive: 30
    Established Transitions: 1      Established Date: 20XX/07/16 18:42:26
    BGP Version: 4                  Type: Internal
    Local Address: 172.16.2.214,  Local AS: 65531
    Local Router ID: 172.16.2.100
    Next Connect Retry: -,          Connect Retry Timer: -
    Last Keep Alive Sent: 18:42:20, Last Keep Alive Received: 18:42:20
    BGP Message  UpdateIn UpdateOut TotalIn TotalOut
                 12       14        36      42
    BGP Capability Negotiation: <IPv4-Uni Refresh Refresh(v)>
      Send   : <IPv4-Uni Refresh Refresh(v)>
      Receive: <IPv4-Uni Refresh Refresh(v)>
    Password : UnConfigured
    Track Name: BFD001, Track ID: 2, Track State: Up
>