networking-forum.com
Community BlogCommunity Wiki * Register  * Search  * Login
View unanswered postsView active topics

All times are UTC - 6 hours [ DST ]



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: SNMP Question
PostPosted: Fri Jun 29, 2012 2:23 am 
Offline
New Member
New Member

Joined: Mon May 10, 2010 1:54 am
Posts: 21
I'm trying to obtain the vlans on a trunk and also whether the port is a trunk.
Ive seen VTP mib, but these dont appear present on my switch (2950).

Code:
snmpwalk -v 1 -c #### switch CISCO-VTP-MIB::vlanTrunkPortVlansEnabled.29
Cannot find module (CISCO-VTP-MIB): At line 0 in (none)

snmpwalk -v 1 -c #### switch CISCO-VTP-MIB::vlanTrunkPortDynamicStatus.29
Cannot find module (CISCO-VTP-MIB): At line 0 in (none)


Is there any other way of getting this information.

Thanks,


Top
 Profile  
 
 Post subject: Re: SNMP Question
PostPosted: Wed Jul 11, 2012 1:06 am 
Offline
New Member
New Member

Joined: Wed Jul 11, 2012 12:37 am
Posts: 1
Certs: CCIE
Try an snmpwalk with version 2c, "-v 2c", see if that helps


Top
 Profile  
 
 Post subject: Re: SNMP Question
PostPosted: Wed Jul 11, 2012 7:55 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Fri Apr 25, 2008 2:16 pm
Posts: 1363
Location: Jacksonville, FL
Certs: CCNP, CCNA:Sec, MCSE
the error you are getting is because snmpwalk can't translate CISCO-VTP-MIB into an OID.

_________________
"A problem well stated is a problem half solved". (Charles Kettering)


Top
 Profile  
 
 Post subject: Re: SNMP Question
PostPosted: Wed Jul 11, 2012 9:06 am 
Offline
Senior Member
Senior Member

Joined: Wed Dec 29, 2010 1:01 pm
Posts: 485
Location: New York
Certs: CCNA
Try using the OID:

Code:
snmpwalk -v 1 -c #### switch SNMPv2-SMI::enterprises.9.9.46.1.6.1.1.14


And check out the Cisco SNMP OID Object Navigator for more information:

http://tools.cisco.com/Support/SNMP/do/ ... oidContent

_________________
I don't have a signature.


Top
 Profile  
 
 Post subject: Re: SNMP Question
PostPosted: Mon Aug 13, 2012 2:37 am 
Offline
New Member
New Member

Joined: Mon May 10, 2010 1:54 am
Posts: 21
Cool that works, does anyone know the OID for getting the ports which are assigned to a port channel. I cannot find it for the life of me.

Thanks,


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: dlots, haluo, williamtyrell78 and 33 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group