Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

OID to obtain VLAN to Switchport Assignments

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

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: OID to obtain VLAN to Switchport Assignments

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.

1 REPLY
Cisco Employee

Re: OID to obtain VLAN to Switchport Assignments

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.

147
Views
0
Helpful
1
Replies
CreatePlease to create content