Get/Set VLAN membership via SNMP

Unanswered Question
Feb 29th, 2008
User Badges:

Dear all,

I'm trying to implement a set/get routine with my Java application for VLAN membership per switchport.

This doesn't seem to work with the vmVlan OID on my switches. We are using 3550, 3560 and 2950 switches in our network.

When I do a simple get with net-snmp tools I get:

[[email protected] sub]# snmpwalk -c public -v 2c switchname vmVlan

vmVlan: Unknown Object Identifier (Sub-id not found: (top) -> vmVlan)

I get this result on every switch. I checked the document ID 45080, but none of this seems to work. I als checked for the correct IOS version as stated in the document.

Can anyone help me out here?

Thanks in advance.


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 1 (1 ratings)
mchin345 Thu, 03/06/2008 - 09:14
User Badges:
  • Silver, 250 points or more

Reason may be SNMP set to change a port's vlan but the vlan for that port always reverts back to the default vlan , so better you upgrade to the higher version.

robdrcrob Thu, 03/13/2008 - 02:05
User Badges:


So far no replies received. But issue is resolved.

The complete OID to get/set the VLAN membership is: vmVlan.0

Best to you all.



This Discussion