SNMP trap with sysName parameter

  • 0
  • 2
  • Problem
  • Updated 3 years ago
  • Not a Problem
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
Photo of vobelic

vobelic

  • 362 Points 250 badge 2x thumb

Posted 3 years ago

  • 0
  • 2
Photo of Paul

Paul

  • 2,026 Points 2k badge 2x thumb
Anyone please answer!!!
I am also same. Snmp server can only see ip address.

Really appreciate your help.

Thanks.