29.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 ipv6 route |
Displays routing information stored in the routing table. |
show ipv6 bgp |
Shows information about the BGP4+ protocol. |
show graceful-restart unicast # |
Displays the operating status of the restart router for graceful restart of the unicast routing protocol. |
(2) Checking for graceful restart
To display whether the graceful restart functionality is in operation, use the show ipv6 bgp operation command with the neighbors and detail parameters specified.
> show ipv6 bgp neighbors detail Date 20XX/01/17 15:52:14 UTC BGP4+ Peer: 3ffe:192:168:2::2 , Remote AS: 65531 Remote Router ID: 192.168.100.2 BGP4+ Status: Established HoldTime: 180 , Keepalive: 60 Established Transitions: 1 Established Date: 20XX/01/17 15:51:00 BGP4+ Version: 4 Type: Internal Local Address: 3ffe: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:46:14 Receive Status : Finished 20XX/01/16 19:11:12 StalepathTime: 30 NLRI of End-of-RIB Marker: Advertised and Received BGP4+ Message UpdateIn UpdateOut TotalIn TotalOut 0 0 2 4 BGP4+ Capability Negotiation: <IPv6-Uni Refresh Refresh(v) GracefulRestart>..2 Send : <IPv6-Uni Refresh Refresh(v) GracefulRestart(RestartTime:120s)> Receive: <IPv6-Uni Refresh Refresh(v) GracefulRestart(RestartTime:120s)> Password: UnConfigured BGP4+ Peer: 3ffe:172:16:2::2 , Remote AS: 65532 Remote Router ID: 172.16.1.102 BGP4+ Status: Established HoldTime: 180 , Keepalive: 60 Established Transitions: 1 Established Date: 20XX/01/17 15:49:35 BGP4+ Version: 4 Type: External Local Address: 3ffe: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 StalepathTime: 30 NLRI of End-of-RIB Marker: Advertised and Received BGP4+ Message UpdateIn UpdateOut TotalIn TotalOut 0 0 3 5 BGP4+ Capability Negotiation: <IPv6-Uni Refresh Refresh(v) GracefulRestart>..2 Send : <IPv6-Uni Refresh Refresh(v) GracefulRestart(RestartTime:120s)> Receive: <IPv6-Uni Refresh Refresh(v) GracefulRestart(RestartTime:120s, IPv6-uni)> Password: UnConfigured |
-
It operates as a restart router and a receive router for graceful restart.
-
The peers successfully negotiated the graceful restart functionality at connection of the BGP4+ session.
Specify an operation-command show ipv6 bgp to apply graceful restart and to show the routes that are being restarted by the source router.
> show ipv6 bgp Date 20XX/01/16 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 3ffe:10:10::/48 3ffe:172:16:2::2 - 120 20 65532 65528 i ..1 S 3ffe:10:20::/48 3ffe:172:16:2::2 - 80 20 65532 65528 i ..1 *> 3ffe:172:20::/48 3ffe:192:168:2::2 - 100 10 65530 i * 3ffe:172:30::/48 3ffe:192:168:2::2 100 100 10 65530 i * 3ffe:192:168:10::/64 3ffe:192:168:2::2 - 100 10 65530 i *> 3ffe:192:169:10::/64 3ffe:192:168:2::2 - 100 10 i *> 3ffe:192:169:20::/64 3ffe: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) |