05-02-2005 10:08 PM
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.
05-06-2005 07:40 AM
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.
05-06-2005 01:23 PM
Are you referring to the native vlan for the trunk?
05-08-2005 11:01 PM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide