03-02-2004 03:21 AM - edited 03-02-2019 01:57 PM
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
03-08-2004 07:32 AM
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.
03-19-2004 05:08 AM
It's great. Thanks.
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