Enabling Snmp Notifications For Bgp; Enabling Logging For Session State Changes - HP FlexFabric 12900E Series Configuration Manual

Hide thumbs Also See for FlexFabric 12900E Series:
Table of Contents

Advertisement

To use BGP NSR in MPLS L3VPN, you must enable RIB NSR. For information about RIB NSR, see
"Configuring basic IP
To configure BGP NSR:
Step
1.
Enter system view.
2.
Enter BGP instance view.
3.
Enable BGP NSR.

Enabling SNMP notifications for BGP

After you enable SNMP notifications for BGP, the device generates a notification when a BGP
neighbor state change occurs. The notification includes the neighbor address, the error code and
subcode of the most recent error, and the current neighbor state.
For BGP notifications to be sent correctly, you must also configure SNMP on the device. For more
information about SNMP configuration, see the network management and monitoring configuration
guide for the device.
To enable SNMP notifications for BGP:
Step
1.
Enter system view.
2.
Enable
notifications for BGP.

Enabling logging for session state changes

Perform this task to enable BGP to log BGP session establishment and disconnection events. To
display 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 logging for session state changes (IPv4 unicast/IPv4 multicast):
Step
1.
Enter system view.
2.
Enter BGP instance view.
3.
Enable logging for session
state changes globally.
4.
(Optional.) Enter BGP-VPN
instance view.
routing."
Command
system-view
bgp
as-number
instance-name
[ multi-session-thread ]
non-stop-routing
Command
system-view
SNMP
snmp-agent trap enable bgp
[ instance instance-name ]
Command
system-view
bgp
as-number
instance-name
[ multi-session-thread ]
log-peer-change
ip
vpn-instance-name
285
Remarks
N/A
[
instance
]
N/A
By default, BGP NSR is disabled.
Remarks
N/A
By default, SNMP notifications for
BGP are enabled.
Remarks
N/A
[
instance
]
N/A
By default, logging for session
state changes is enabled globally.
vpn-instance
N/A

Advertisement

Table of Contents
loading

Table of Contents