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

Get/Set VLAN membership via SNMP

robdrcrob
Level 1
Level 1

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:

[root@host 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.

Rob

2 Replies 2

mchin345
Level 6
Level 6

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
Level 1
Level 1

All,

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.

Rob

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card