In this task, we need to send a trap for bgp peering to the snmp server. So we need to enable trap for bgp via "snmp-server enable trap bgp" and define the snmp server with community string via "snmp-server host <ip address of snmp server> <community string>"
Comments
In this task, we need to send a trap for bgp peering to the snmp server. So we need to enable trap for bgp via "snmp-server enable trap bgp" and define the snmp server with community string via "snmp-server host <ip address of snmp server> <community string>"
Hi,
Indeed, task missed the community string.
snmp-server community CISCOBGP
So correct configuration is
snmp-server community CISCOBGP
snmp-server enable traps bgp
snmp-server host 139.1.2.100 CISCOBGP
Good Luck with your studies!