Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Determining the OID for specific traps

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?

Thanks.

3 REPLIES

Re: Determining the OID for specific traps

vlancreate is vtpVlanCreated with oid

1.3.6.1.4.1.9.9.46.2.0.10

"A vtpVlanCreated notification is generated by a

device when a VLAN is created. "

New Member

Re: Determining the OID for specific traps

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.2.2.1.1", but nothing that says anything about" VlanCreated".

Thanks again.

Re: Determining the OID for specific traps

You can use the SNMP object navigator:

http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en

You can search for mibs there, look at the OIDs inside the mibs

Also, check the capability file according the platforms, to see if the mib you want to use is ported on the device you want to poll:

ftp://ftp-sj.cisco.com/pub/mibs/supportlists/

445
Views
0
Helpful
3
Replies
CreatePlease login to create content