cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1862
Views
0
Helpful
5
Replies

Change Trunk Port Configuration via SNMP?

Hello, 

 

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?

Thanks.

5 Replies 5

balaji.bandi
Hall of Fame
Hall of Fame

Generally i use out of box script to do this task

 

here is some resource for your requirement, not tried myself, test and advise.

 

https://support.edge-core.com/hc/en-us/articles/360023405214-How-to-configure-VLAN-create-delete-add-member-ports-via-SNMP-

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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. 

Great find! Thanks for posting!

Hi Tyler,

 

Can you please share the sample snmp command that you used to achieve this?

 

I also want to achieve something like this - https://community.cisco.com/t5/network-management/port-segregation-using-snmp/td-p/4432211

 

Thanks in advance.

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:

Review Cisco Networking products for a $25 gift card