I noticed that two routers don’t send logs to U2000. They were recently installed and assumed that they never sent logs to U2000.
I checked the SNMP configuration and noticed that the trap source was Loopback 0. This configuration was according to the LLD.
snmp-agent local-engineid 123ABCD
snmp-agent community write cipher XYZ
snmp-agent community read cipher XYZ
snmp-agent sys-info version v2c
undo snmp-agent sys-info version v3
snmp-agent target-host trap address udp-domain y.y.y.y params securityname cipher ZZZ private-netmanager
snmp-agent trap source LoopBack0
snmp-agent trap enable
However the IP from Loopback 0 wasn’t the same as the NE’s IP from U2000.
The first step was to change the trap source with the proper interface, in order to have the same IP (trap source and NE’s IP in U2000).
I generated some logs, by using a Vlanif interface, but with no visible results on U2000.
I found that without specifying the SNMP version in the snmp-agent target-host trap command the default version used is v1. This was in contradiction with the snmp-agent sys-info version v2c command where version 2 was defined.
I added the version to the command:
snmp-agent target-host trap address udp-domain y.y.y.y params securityname cipher ZZZ v2c private-netmanager
I generated some logs again and this time the logs were visible from U2000 platform.
The trap IP source wasn’t the same as the NE’s IP defined in U2000.
The SNMP version used by the snmp-agent target-host trap was the default one instead of the one defined by snmp-agent sys-info version.
Change the proper source trap interface and add v2c parameter to the command snmp-agent target-host trap.