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. |