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


13.6.11 グレースフル・リスタートの確認

〈この項の構成〉

(1) 運用コマンド一覧

グレースフル・リスタートの運用コマンド一覧を次の表に示します。

表13‒35 運用コマンド一覧

コマンド名

説明

show ip route

ルーティングテーブルで保持する経路情報を表示します。

show ip bgp

BGP4プロトコルに関する情報を表示します。

show graceful-restart unicast

ユニキャストルーティングプロトコルのグレースフル・リスタートのリスタートルータの動作状態を表示します。

注※

運用コマンドレファレンス Vol.2」 「9 IPv4・IPv6ルーティングプロトコル共通」を参照してください。

(2) グレースフル・リスタートの確認

グレースフル・リスタートを適用していることを表示する場合は運用コマンドshow ip bgpのneighborsパラメータとdetailパラメータを指定します。

図13‒52 show ip bgpコマンド(neighbors,detailパラメータ指定)の実行結果
> show ip bgp neighbors detail
Date 20XX/01/17 15:52:14 UTC
BGP Peer: 192.168.2.2       , Remote AS: 65531
Remote Router ID: 192.168.100.2       
    BGP Status: Established         HoldTime: 180  , Keepalive: 60
    Established Transitions: 1      Established Date: 20XX/01/17 15:51:00
    BGP Version: 4                  Type: Internal
    Local Address: 192.168.2.1      Local AS: 65531
    Local Router ID: 192.168.1.100
    Next Connect Retry: -           Connect Retry Timer: - 
    Last Keep Alive Sent: 15:52:00  Last Keep Alive Received: 15:52:00
    Graceful Restart: Both                                             …1
      Restart Status : Finished    20XX/12/16 18:41:35
      Receive Status : Finished    20XX/01/16 19:11:12
       Stalepath-Time: 30
 
    BGP Message  UpdateIn   UpdateOut  TotalIn    TotalOut
                 0          0          2          4
    BGP Capability Negotiation: <IPv4-Uni Refresh Refresh(v) GracefulRestart > …2
      Send   : <IPv4-Uni Refresh Refresh(v) GracefulRestart(RestartTime:120s)>
      Receive: <IPv4-Uni Refresh Refresh(v) GracefulRestart(RestartTime:120s), IPv4-uni>
    Password: UnConfigured
    BFD Name: -, BFD ID: -, BFD State: -
 
BGP Peer: 172.16.2.2     , Remote AS: 65532
Remote Router ID: 172.16.1.102
    BGP Status: Established         HoldTime: 180  , Keepalive: 60
    Established Transitions: 1      Established Date: 20XX/01/17 15:49:35
    BGP Version: 4                  Type: External
    Local Address: 172.16.2.1       Local AS: 65531
    Local Router ID: 192.168.1.100
    Next Connect Retry: -           Connect Retry Timer: -
    Last Keep Alive Sent: 15:51:35  Last Keep Alive Received: 15:51:35
    Graceful Restart: Both                                             …1
      Restart Status : Finished    20XX/12/16 18:43:40
      Receive Status : Finished    20XX/01/16 19:13:40
       Stalepath-Time: 30
    NLRI of End-of-RIB Marker: Advertised and Received
    BGP Message  UpdateIn   UpdateOut  TotalIn    TotalOut
                 0          0          3          5
    BGP Capability Negotiation: <IPv4-Uni Refresh Refresh(v) GracefulRestart > …2
      Send   : <IPv4-Uni Refresh Refresh(v) GracefulRestart(RestartTime:120s)>
      Receive: <IPv4-Uni Refresh Refresh(v) GracefulRestart(RestartTime:120s)>
    Password: UnConfigured
    BFD Name: -, BFD ID: -, BFD State: -
  1. グレースフル・リスタートのリスタートルータおよびレシーブルータとして動作します。

  2. BGPセッション接続時にグレースフル・リスタートのネゴシエーションが成立しています。

グレースフル・リスタートを適用している場合で経路の送信元ルータがリスタート中の経路は運用コマンドshow ip bgpで表示します。

図13‒53 show ip bgpコマンドの実行結果
> show ip bgp
Date 20XX/01/17 19:12:23 UTC
Local AS: 65531, Local Router ID: 192.168.1.100
Status Codes: d dampened, * valid, > active, S Stale, r RIB failure
Origin Codes: i - IGP, e - EGP, ? - incomplete
   Network          Next Hop      MED   LocalPref Weight Path
S  10.10/16         172.16.2.2    -     120       20     65532 65528 i    …1
S  10.20/16         172.16.2.2    -     80        20     65532 65528 i    …1
*> 172.20/16        192.168.2.2   -     100       10     65530    i
*  172.30/16        192.168.2.2   100   100       10     65530 i
*  192.168.10/24    192.168.2.2   -     100       10     65530 i
*> 192.169.10/24    192.168.2.2   -     100       10           i
*> 192.169.20/24    192.168.2.2   -     100       10           i
  1. 経路の送信元ルータがリスタート中の経路

ユニキャストルーティングプロトコルのグレースフル・リスタートの動作状態は,show graceful-restart unicastコマンドで表示します。

図13‒54 show graceful-restart unicastコマンドの実行結果
>show graceful-restart unicast
Date 20XX/12/17 12:00:00 UTC
Status: Completed
Graceful Restart Time Limit: 180s
Start Time: 20XX/12/08 17:01:23
End Time  : 20XX/12/08 17:01:30
OSPF  : Restart State <Finished>
        Total of Domain: 2 (Succeeded: 2)
BGP   : Restart State <Finished>
        Total of Peer  : 25 (Succeeded: 25)
OSPFv3: Restart State <Finished>
        Total of Domain: 2 (Succeeded: 2)
BGP4+ : Restart State <Finished>
        Total of Peer  : 20 (Succeeded: 20)