Multicast and Routing Guide K/KA/KB.15.15

NOTE: A device can act as both the GR Restarter and GR Helper simultaneously.
Follow these steps to configure BGP GR.
RemarksUse the command...To do...
configurationEnter the global Configuration context
bgp as-numberEnable BGP, and enter its view
Required. Disabled by default.bgp graceful-restart
staleparth-time
{stale-path-time}
Configure graceful restart
Optional. 120 seconds by default.graceful-restart timer
restart timer
Configure the maximum time allowed
for the peer to reestablish a BGP
session
graceful-restart timerConfigure the maximum time to wait
for the End-of-RIB marker
NOTE: The maximum time allowed for the peer (the GR restarter) to reestablish a BGP session
should be less than the Holdtime carried in the OPEN message.
The End-Of-RIB (End of Routing-Information-Base) indicates the end of route updates.
Displaying information about BGP configuration
Displaying BGP information
RemarksUse the command...To do...
Available in any viewshow ip bgpDisplay information about BGP routes
installed in the BGP routing
information base (RIB)
show ip bgp
ipv4-addr/masklen
Display specific information about the
route and the BGP path attributes of
the route
show ip bgp generalDisplay generic global configuration
information regarding BGP
show ip bgp
ipv4-addr/masklen regexp
aspath-reg-ex
Display detailed information on the
route if the route’s AS_PATH
information matches the supplied
regular expression
show ip routeDisplay all the routes in the IP routing
table, including BGP routes
show ip route bgp [ip4-addr]Display only the BGP routes in the IP
routing table
show ip bgp community
comm-num... regexp
aspath-reg-ex
Display the routes whose community
information matches the supplied
community numbers and also the
AS_PATH information matches the
supplied regular expression
show ip bgp community
comm-num... exact regexp
aspath-reg-ex
Display the routes whose community
information matches exactly the
supplied community numbers and also
whose AS_PATH information matches
the supplied regular expression
316 Border Gateway Protocol (BGP)