For When You Can't Have The Real Thing
[ start | index | login ]
start > snmp > Switch Port Vlans

Switch Port Vlans

Created by dave. Last edited by dave, 16 years and 250 days ago. Viewed 8,151 times. #6
[diff] [history] [edit] [rdf]
labels
attachments

Reading Switch Port VLAN memberships

see: >>http://search.cpan.org/~emiller/SNMP-Info-1.04/Info/Bridge.pm

It queries OID 1.3.6.1.2.1.17.7.1.4.5.1.1 (>>dot1qPvid -- the VLAN-ID assigned to untagged frames or Priority-Tagged frames received on this port)

Note that on some switches this OID requires RW access to the MIB in order to be successful.

Works on:

  • 3c4005 v2
  • 3c4900
  • Cisco 3750 IOS 12.2.x (according to the linked page above)
  • Dell 5324
Doesn't work on:
  • 3c3900 (boo!)
  • Cisco 3750 IOS 12.1.x
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt