3com S7906E Manuel De Montage

Page de 2621
 
1-42 
 
A device can act as a GR Restarter and GR Helper at the same time. 
 
Follow these steps to configure BGP GR: 
To do… 
Use the command… 
Remarks 
Enter system view 
system-view 
— 
Enable BGP, and enter its view 
bgp as-number 
— 
Enable GR Capability for BGP 
graceful-restart 
Required 
Disabled by default 
Configure the maximum time 
allowed for the peer  to 
reestablish a BGP session 
graceful-restart timer 
restart
 timer 
Optional 
150 seconds by default 
Configure the maximum time to 
wait for the End-of-RIB marker 
graceful-restart timer 
wait-for-rib
 timer 
Optional 
180 seconds by default 
 
 
In general, 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. 
 
Enabling Trap 
After Trap is enabled for BGP, BGP generates Level-4 traps to report important events of it. The 
generated traps are sent to the Information Center of the device. The output rules of the traps, namely, 
whether to output the traps and the output direction, are determined according to the Information Center 
configuration. (For Information Center configuration, refer to Information Center Configuration in the 
System Volume.) 
Follow these steps to enable Trap: 
To do… 
Use the command… 
Remarks 
Enter system view 
system-view 
— 
Enable Trap for BGP 
snmp-agent trap enable bgp 
Optional 
Enabled by default  
 
Enabling Logging of Peer State Changes 
Follow these steps to enable the logging of peer state changes: