cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
256
Views
1
Helpful
1
Replies

Vlan portmap

How do i get the Vlans associated to a port on a c2950 using SNMP?

i need to get access vlan, native vlans and allowed vlans.

any idea? i have tried the VlanTrunkPortVlans but i get all Vlans on a port that has no vlans and so on..

VlanTrunkPortNativaVlan gives me value 1 on several ports that has no vlan.

:(

1 Reply 1

irisrios
Level 6
Level 6

Use the CISCO-VTP-MIB and access the vtpVlanState object in order to determine the active VLANs on the device.

For more information:

How to Get VLAN Information From a Catalyst Using SNMP

http://www.cisco.com/en/US/tech/tk648/tk362/technologies_configuration_example09186a008015773e.shtml

Review Cisco Networking for a $25 gift card