EasyManua.ls Logo

HP 6125XLG - Enabling SNMP Notifications for BGP; Enabling Logging of Session State Changes

HP 6125XLG
492 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
248
Ste
p
Command
Remarks
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:
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.

Table of Contents

Other manuals for HP 6125XLG

Related product manuals