Determining the OID for specific traps

Unanswered Question
Jul 16th, 2009

Does anyone know how to determine the OID for specific SNMP traps? For example, I configured a switch so that a trap would be sent each time a VLAN is created, using the following config: "snmp-server enable traps vlancreate". But I think we need to configure the OID for that trap on our NMS (Microsoft SCOM), so that it recognizes what the trap is saying when it receives it. So how does one find the OID for a specific trap? How can I find the OID for the "vlancreate" trap that I configured on our switch?


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Lucien Avramov Thu, 07/16/2009 - 10:44

vlancreate is vtpVlanCreated with oid

"A vtpVlanCreated notification is generated by a

device when a VLAN is created. "

pweinhold Thu, 07/16/2009 - 11:23

So how does one find that out? If I have other SNMP traps that I want to find out the OID for, where do I look? I've tried Google and I've had no luck.

And how do we navigate it on the switch itself? For example, I enter a command like this: "show snmp mib | be vtpVlan"

and I see lots of different entries like "vtpVlanEntry.8" or "vlanInfo.", but nothing that says anything about" VlanCreated".

Thanks again.


This Discussion