1020
C
73: BGP D
HAPTER
View
Default Level
Parameters
Description
Examples
C
EBUGGING
OMMANDS
User view
1: Monitor level
ipv4-address: IPv4 address of a peer.
ipv6-address: IPv6 address of a peer.
Use the
debugging bgp graceful-restart
debugging for BGP.
Use the
undo debugging bgp graceful-restart
debugging for BGP.
After this debugging is enabled, the debugging information of the BGP GR
operation will be displayed, including the currently triggered event, state
transitions, receiving/sending of EOR messages, and peer IP address. If a fault
occurs to the GR operation of BGP, you can display the debugging information for
fault location.
Enabling debugging may affect system performance; therefore, use the command
only when necessary and disable debugging once the debugging operation is
complete.
By default, this debugging is disabled.
# Enable BGP GR event debugging on the BGP GR Helper when the neighbor
performs an active/standby switchover.
<Sysname> debugging bgp graceful-restart
%Aug 24 17:05:08:770 2006 Sysname RM/3/RMLOG:
BGP.: 10.1.1.1 State is changed from ESTABLISHED to IDLE.
*Aug 24 17:05:08:786 2006 Sysname RM/6/RMDEBUG:
BGP_GR: Peer 10.1.1.1 Gracefully Restarting
// The BGP neighbor 10.1.1.1 is performing GR.
%Aug 24 17:05:40:851 2006 Sysname RM/3/RMLOG:
BGP.: 10.1.1.1 State is changed from OPENCONFIRM to ESTABLISHED.
// The BGP peer relationship has been successfully established.
*Aug 24 17:05:40:867 2006 Sysname RM/6/RMDEBUG:
BGP_GR: Sent EOR to Peer 10.1.1.1 (IPv4-UNC)
//The BGP GR Helper finished sending initial routes and then sent an EOR message
to peer 10.1.1.1.
*Aug 24 17:05:41:96 2006 Sysname RM/6/RMDEBUG:
BGP_GR: Received EOR from Peer 10.1.1.1 (IPv4-UNC)
// The BGP GR Helper received an EOR message from peer 10.1.1.1.
command to enable GR event
command to disable GR event