Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

trunk mode to access mode

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

  • Other Network Infrastructure Subjects
2 REPLIES
Silver

Re: trunk mode to access mode

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.

New Member

Re: trunk mode to access mode

It's great. Thanks.

291
Views
0
Helpful
2
Replies
This widget could not be displayed.