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

OID to obtain VLAN to Switchport Assignments

yuchenglai
Level 1
Level 1

I am trying to use SNMP to obtain VLAN to Switchport Assignments. Does anyone know the OID for this?

1 Accepted Solution

Accepted Solutions

Joe Clarke
Cisco Employee
Cisco Employee

For access ports, you can use the vmMembershipTable from the CISCO-VLAN-MEMBERSHIP-MIB to get this information. The table is indexed by ifIndex, and the vmVlan object will tell you the vlan for that port.

View solution in original post

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

For access ports, you can use the vmMembershipTable from the CISCO-VLAN-MEMBERSHIP-MIB to get this information. The table is indexed by ifIndex, and the vmVlan object will tell you the vlan for that port.

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: