03-28-2025 06:02 AM
%BGP-5-ADJCHANGE: neighbor IP vpn vrf vrf_Name Up
%BGP-5-ADJCHANGE: neighbor IP vpn vrf vrf_Name Down
Whenever BGP is going down, I need to generate the alert notification in the one of the monitoring tool called NNMI. Please let me how to get latest MIB for the BGP to add in the monitoring tool
also need to know configurations to add in the cisco switch : C9500-48Y4C
03-28-2025 07:31 AM
Hi @munnay02 ,
You can enable the bgp keyword to the snmp trap configuration as follow:
snmp-server enable traps bgp
03-28-2025 08:19 AM
Thanks Harold Ritter
snmp-server enable traps bgp has been enabled already
03-28-2025 09:13 AM - edited 03-28-2025 10:00 AM
Hi @munnay02 ,
That fulfills your requirement then, as every time the BGP session goes up or down a trap will be sent to the server specified in the "snmp-server host" command.
03-28-2025 07:34 AM
Hi,
Check this article
you can configure snmp for example like this
snmp-server community public RO snmp-server community private RW snmp-server enable traps bgp <<< here you enable snmp traps to be sent to your monitoring system snmp-server host X.X.X.X version 2c public
or for instance you can enable EEM script to react on log event. Then as in this example you will receive email about adjacency change.
event manager applet BGP_Adjacency_Change event syslog pattern "%BGP-5-ADJCHANGE: neighbor * Down" action 1.0 cli command "enable" action 2.0 cli command "show clock" action 3.0 set msg "BGP neighbor down at $_cli_result" action 4.0 mail server "smtp.yourmailserver.com" to "alert@yourdomain.com" from "router@yourdomain.com" subject "BGP Adjacency Down" body "$msg" action 5.0 syslog msg "$msg"
best regards,
Jan
**Please rate if helpful**
03-31-2025 02:46 AM
Thanks Jan Rolny,
Let me check the steps which you provided too.
Can someone please let me know how to find latest BGP MIB for the C9500. This request is from Monitoring team
03-31-2025 05:49 AM
You can go here https://cfnng.cisco.com/mibs and search for model and release/version you are running on.
Best regards,
Jan
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide