cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
435
Views
0
Helpful
2
Replies

trunk mode to access mode

ROMAN TOMASEK
Level 1
Level 1

Is it possible to change state of port from access mode to trunk mode and vice versa by means of SNMP?? I only find the view of state of vtp ports - enterprises.9.9.46.1.6.1.1.13.

Thanks

2 Replies 2

owillins
Level 6
Level 6

I guess this can be done. For example...

nms-> snmpwalk 10.1.1.1 public vlanTrunkPortDynamicState enterprises.cisco.ciscoMgmt.ciscoVtpMIB.vtpMIBObjects.vlanTrunkPorts.vlanTrunkPortTable.vlanTrunkPortEntry.vlanTrunkPortDynamicState.8 = on(1) // This is in trunk mode at present.

nms-> snmpset 10.1.1.1 private vlanTrunkPortDynamicState.8 i 2 enterprises.cisco.ciscoMgmt.ciscoVtpMIB.vtpMIBObjects.vlanTrunkPorts.vlanTrunkPortTable.vlanTrunkPortEntry.vlanTrunkPortDynamicState.8 = off(2) // Now, it set to access mode.

It's great. Thanks.

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: