259
the GR restarter updates its routing table and forwarding table with the BGP routes already
learned to complete BGP route convergence. The GR helper removes the stale routes.
Follow these guidelines when you configure BGP GR:
•
The End-Of-RIB indicates the end of route updates.
•
The maximum time to wait for the End-of-RIB marker configured on the local end is not advertised
to the peer. It controls the time for the local end to receive updates from the peer.
NOTE:
An active/standby switchover cannot trigger GR on the VSR1000 router.
Perform the following configuration on the GR restarter and GR helper.
To configure BGP GR:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp
as-number
N/A
3.
Enable GR capability for BGP.
graceful-restart
By default, GR capability is
disabled for BGP.
4.
Configure the GR timer.
graceful-restart timer restart
timer
The default setting is 150 seconds.
The time that a peer waits to
reestablish a session must be less
than the hold time.
5.
Configure the maximum time to
wait for the End-of-RIB marker.
graceful-restart timer
wait-for-rib
timer
The default setting is 180 seconds.
Enabling SNMP notifications for BGP
This feature enables generating SNMP notifications for BGP upon neighbor state changes, as defined in
RFC 4273. The SNMP notifications include the neighbor address, the code and subcode of the most
recent error, and the current neighbor state. The generated SNMP notifications are sent to the SNMP
module. The SNMP module determines how to output the notifications according to the configured output
rules.
For more information about SNMP notifications, see
Network Management and Monitoring
Configuration Guide
.
To enable SNMP notifications for BGP:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable SNMP notifications
for BGP.
snmp-agent trap enable bgp
By default, SNMP notifications for BGP
are enabled.