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


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

〈この項の構成〉

(1) 運用コマンド一覧

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

表22‒44 運用コマンド一覧

コマンド名

説明

show ip route

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

show ip bgp

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

show ipv6 route

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

show ipv6 bgp

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

show graceful-restart unicast

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

注※

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

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

グレースフル・リスタートを適用していることは,show ip bgpコマンドまたはshow ipv6 bgpコマンドでneighborsパラメータにdetailを指定して確認します。

図22‒49 show ip bgpコマンド(neighbors detailパラメータ指定)の実行結果
> show ip bgp neighbors detail
Date 20XX/04/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/04/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
      Last Restart Status : Finished    20XX/04/16 18:41:35
      Last Receive Status : Finished    20XX/04/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
    Track Name: -, Track ID: -, Track State: -
      :
      :
  1. グレースフル・リスタートのリスタートルータおよびレシーブルータとして動作します。

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

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

図22‒50 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.168.20/24    192.168.2.2  -     100       10           i
*> 192.168.30/24    192.168.2.2  -     100       10           i
  1. 経路の送信元ルータがリスタート中の経路です。

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

図22‒51 show graceful-restart unicastコマンドの実行結果
>show graceful-restart unicast
Date 20XX/04/17 12:00:00 UTC
Status: Completed
Graceful Restart Time Limit: 180s
Start Time: 20XX/04/08 17:01:23
End Time  : 20XX/04/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)