[j-nsp] EX-series VLAN info via SNMP

Ross Vandegrift ross at kallisti.us
Thu Oct 23 13:29:21 EDT 2008


Hi everyone,

I've written a lot of software that uses SNMP for querying various
things about a switch's config for a lot of different vendors.
Everyone does this simple thing in bizarre and confusing ways.
But never until the EX series have I seen a switch that appears to
have no way to get the dot1q VLAN tag via SNMP.

Q-BRIDGE-MIB::dot1qPvid is equal to the internal VLAN ID (which has no
relation to the dot1q tag)

Q-BRIDGE-MIB::dot1qVlanStaticName lets you walk the names of VLANs.
The name indexes tables under jnxExVlan, none of which expose the
dot1q tag.  jnxVlanID sounds promising, but maps the name back to the
internal VLAN ID.

Their Q-BRIDGE-MIB implementation leaves almost every field blank.  No
VLAN has a valid dot1qVlanStaticEgress or dot1qVlanStaticUntaggedPorts
map - all are the empty string.

I understand I'm probably supposed to use Netconf to get this data,
but boy, it'd have been nice to not have to reimplement all my SNMP
tools...

Just venting.  Anyone found something I missed?

-- 
Ross Vandegrift
ross at kallisti.us

"The good Christian should beware of mathematicians, and all those who
make empty prophecies. The danger already exists that the mathematicians
have made a covenant with the devil to darken the spirit and to confine
man in the bonds of Hell."
	--St. Augustine, De Genesi ad Litteram, Book II, xviii, 37


More information about the juniper-nsp mailing list