cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2212
Views
0
Helpful
3
Replies

3550 VLAN assignment for trunk ports

JP_Urkens
Level 1
Level 1

I'm writing an SNMP management application to control catalyst 3550/3750 switches and I am having problems figuring out how to change the VLAN assignments for trunk ports. The vmMembershipTable in Cisco-Vlan-Membership-MIB explicitly mentions that trunk ports aren't covered in this table although it doesn't mention where these are covered.

3 Replies 3

Not applicable

You could use CISCO-STACK-MIB .This MIB gives information on Trunks configured and the status of the Trunks.

You can start at 1.3.6.1.4.1.9.5.1.9 which is the VLAN group.

Keyan
Level 1
Level 1

Are you referring to the native vlan for the trunk?

Actually I've no idea whether there is a difference between the VLANs assigned to a trunk. I am looking for the SNMP equivalent of the CISCO IOS command:

"switchport trunk allowed vlan add VLANId"

Up to now I found the vlanPortTable in CISCO-STACK-MIB and vlanTrunkPortTable in CISCO-VTP-MIB. However both work with OCTET STRING(128) to specify VLAN settings for a trunk which is somewhat laborious.

Review Cisco Networking for a $25 gift card