HP Comware 5 Debug Manual Vol 1

IP address. If a fault occurs to the GR operation of BGP, you can display the debugging information for
fault location.
Enabling debugging might decrease system performance. Therefore, use this command only when
necessary, and disable debugging after the debugging operation is complete.
Examples
# Enable BGP GR event debugging on the BGP GR helper. When the neighbor performs an
active/standby switchover, output similar to the following example is generated:
<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 was 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 had 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.
debugging bgp non-stop-routing
Use debugging bgp non-stop-routing to enable BGP NSR debugging.
Use undo debugging bgp non-stop-routing to disable BGP NSR debugging.
Syntax
debugging bgp non-stop-routing
undo debugging bgp non-stop-routing
Default
BGP NSR debugging is disabled.
Views
User view
Default command level
1: Monitor level
Examples
# Enable BGP NSR debugging. When BGP NSR is enabled, output similar to the following example is
generated:
<Sysname> debugging bgp non-stop-routing
*0.92311078 Sysname RM/6/RMDEBUG:
BGP NSR: The instance isn't found in the synchronization message.
187