13.6.11 Checking for graceful restart
- <Structure of this section>
(1) List of operation commands
The following table lists the operation commands related to graceful restart.
Command name |
Description |
---|---|
show ip route |
Displays routing information stored in the routing table. |
show ip bgp |
Shows information related to the BGP4 protocol. |
show graceful-restart unicast # |
Displays the operating status of the restart router for graceful restart of the unicast routing protocol. |
- #
-
See "Operation Command Reference Vol.2" "9 IPv4 .IPv6 Routing Protocols".
(2) Checking for graceful restart
To display whether the graceful restart functionality is in operation, use the show ip bgp operation command with the neighbors and detail parameters specified.
> 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: - |
-
It operates as a restart router and a receive router for graceful restart.
-
The peers successfully negotiated graceful restart functionality on connection of the BGP session.
If graceful restart is applied, routes that are being restarted by the source router are displayed in the operation-command 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 |
-
Shows the route used during restart of the originating router.
The operation status of the graceful restart of the unicast routing protocol is displayed by show graceful-restart unicast commandI will.
>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) |