I am attempting to change the allowed vlans (tagged) on trunk ports via SNMP and have tried to using OIDs in the CICSO-VTP-MIB but have not had any luck. I have only been able to read the VLAN configuration on each port.
Is it possible to use OIDs in this MIB to change the trunk port configuration?
Generally i use out of box script to do this task
here is some resource for your requirement, not tried myself, test and advise.
Thanks for the information. I am struggling to get this to work on a Catalyst 3650 switch and get a response back of "no such object available on this agent" when running the commands specified in the link you provided. I believe the commands you supplied do work as I am running them successfully on another vendor's switch.
Do you know if the Q-BRIDGE-MIB is supported on the Catalyst 3650? I don't see it via an snmpwalk and I also don't see it on the Cisco MIB locator page. Is it possible to load this MIB onto the switch? Thanks.
I ended up finding the OID I needed under the CISCO-VITP-MIB