Question

SNMP trap with sysName parameter


I want to receive traps from my switches to a central SNMP monitoring system so I did the basic enable snmp traps and defined a trap receiver address.
The traps are received but the trap source is only the IP address which is rather painful and makes it very hard to instantly identify the problematic device.

One way would be to resolve the address on the target station, but is it possible to send the SNMP sysName in the trap itself?

For instance when a port goes down I get:
SNMPv2-MIB::snmpTrapOID.0 = SNMPv2-MIB::snmpTraps.3
RFC1213-MIB::ifIndex = 1006
RFC1213-MIB::ifAdminStatus = up (1)
RFC1213-MIB::ifOperStatus = down (2)

Under the 'show configuration snmp detail' printout i'm seeing:
configure snmpv3 add target-addr v1v2cNotifyTAddr1 param v1v2cNotifyParam1 ipaddress 192.168.221.220 transport-port 162 vr VR-Mgmt tag-list defaultNotify

So, is it related to the defaultNotify tag what gets included in the trap?
Or where even are those tags defined?

Any help appreciated.

Regards,
Vladimir

1 reply

Userlevel 3
Anyone please answer!!! I am also same. Snmp server can only see ip address. Really appreciate your help. Thanks.

Reply