Enabling Logging Of Session State Changes; Configuring Bfd For Bgp - HP 6125XLG Configuration Manual

Blade switch layer 3 - ip routing
Table of Contents

Advertisement

Step
1.
Enter system view.
2.
Enable trap for BGP.

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 log-info command.
To enable the logging of session state changes:
Step
1.
Enter system view.
2.
Enter BGP view.
3.
Enable the logging of session
state changes globally.

Configuring BFD for BGP

IMPORTANT:
If you have enabled GR, use BFD with caution because BFD might detect a failure before the system
performs GR, which will result in GR failure. If you have enabled both BFD and GR for BGP, do not disable
BFD during a GR process to avoid GR failure.
BGP maintains neighbor relationships based on the keepalive timer and hold timer in seconds. It requires
that the hold time must be at least three times the keepalive interval. This mechanism makes link failure
detection slow. Once a failure occurs on a high-speed link, a large quantity of packets will be dropped
before routing convergence completes. BFD for BGP can solve this problem by fast detecting link failures
to reduce convergence time.
For more information about BFD, see High Availability Configuration Guide.
Before you can enable BFD for the BGP peer, establish a BGP session between the local router and the
peer.
To enable BFD for a BGP peer (IPv4):
Step
1.
Enter system view.
Command
system-view
snmp-agent trap enable bgp
Command
system-view
bgp as-number
log-peer-change
Command
system-view
222
Remarks
N/A
By default, trap for BGP is enabled.
For more information about this
command, see Network Management
and Monitoring Configuration Guide.
Remarks
N/A
N/A
By default, logging of session state
changes is enabled globally.
Remarks
N/A

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents