R0106-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V7)

280
GR requires GR-capable neighbors to help restore routing information. NSR does not need help
because the standby process has all the BGP state and data information of the active process.
When both GR and NSR are configured for BGP, NSR has a higher priority than GR. The device will not
act as the GR restarter. If the device acts as a GR helper, it cannot help the restarter to complete GR.
To implement BGP NSR in MPLS L3VPN, you must enable RIB NSR. For information about RIB NSR, see
"Configuring RIB."
To configure BGP NSR:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter BGP view.
bgp as-number N/A
3. Enable BGP NSR.
non-stop-routing By default, BGP NSR is disabled.
Enabling SNMP notifications for BGP
This feature enables BGP to generate SNMP notifications. The generated SNMP notifications are sent to
the SNMP module.
For more information about SNMP notifications, see Network Management and Monitoring
Configuration Guide.
To enable SNMP notifications for BGP:
Ste
p
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.
Enabling logging of session state changes
Perform this task to enable BGP to log BGP session establishment and disconnection events. To view the
log information, use the display bgp peer ipv4 unicast log-info command or the display bgp peer ipv6
unicast log-info command. The logs are sent to the information center. The output rules of the logs
(whether to output the logs and where to output) are determined by the information center configuration.
For more information about information center configuration, see Network Management and Monitoring
Configuration Guide.
To enable the logging of session state changes:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter BGP view.
bgp as-number N/A
3. Enable the logging of session
state changes globally.
log-peer-change
By default, logging of session state
changes is enabled globally.