Skip Navigation Links
Exit Print View
| Sun Ethernet Fabric Operating System ### STP Administration Guide

Search Scope:

- This Document
- Entire Library

## Clear Spanning Tree MSTP Counters

1. View output in switch 1 before clearing the counters.

       SEFOS# show spanning-tree detail

       Spanning tree Protocol Enabled.

       MST00 is executing the mstp compatible Multiple Spanning Tree Protocol
       Bridge Identifier has Priority 32768, Address 00:01:02:03:04:01
       Configured  Max age 20 sec,  Forward delay 15 sec
       Configured Hello Time 2 sec
       Dynamic Path Cost Disabled
       Flush Interval 0 centi-sec, Flush Invocations 72
       Flush Indication threshold 0
       Current Root has priority 32768, address 00:02:02:03:04:01cost of root path is 2000Number of Topology Changes 1, Time since topology Change 89 seconds agoTransmit Hold-Count 3Root Times : Max age 20 Sec Forward delay 15 SecPort 45 [Ex0/45] of MST00 is Root , ForwardingEx0/45 is operating in the MSTP ModePort path cost 2000, Port priority 128,Port Identifier 128.45. Port HelloTime 2,Timers: Hello - 1, Forward Delay - 0, Topology Change - 0Designated root has priority 32768, address 00:02:02:03:04:01

       Designated Bridge has priority 32768, address 00:02:02:03:04:01
       Designated Port Id is 128.45, Designated pathcost is 0Operational Forward delay 15, Max age 20Received Hello Time 2 SecNumber of Transitions to forwarding State : 1Auto-Edge is enabledPortFast is disabled, Oper-Edge is disabledLink type is point to PointBPDUs : sent 4, recieved 4466Restricted Role is disabled.Restricted TCN is disabled.bpdu-transmit enabledbpdu-receive enabledLoop Guard is disabled

2. Clear the counters for instance 1.

       SEFOS(config)# clear spanning-tree mst 1 counters
       SEFOS(config)# end

3. View output in switch 1 after clearing the counters.

       SEFOS# sh spanning-tree detail

       Spanning tree Protocol has been enabled

       MST00 is executing the mstp compatible Multiple Spanning Tree Protocol
       Bridge Identifier has Priority 32768, Address 00:01:02:03:04:01Configured  Max age 20 sec,  Forward delay 15 secConfigured Hello Time 2 secDynamic Path Cost DisabledFlush Interval 0 centi-sec, Flush Invocations 219Flush Indication threshold 0
       Current Root has priority 32768, address  00:02:02:03:04:01cost of root path is 2000Number of Topology Changes 6, Time since topology Change 2 secs agoTransmit Hold-Count 3Root Times : Max age 20 Sec      Forward delay 15 Sec

       Port 46 [Ex0/46] of MST00 is Root      , ForwardingEx0/46 is operating in the MSTP ModePort path cost  2000, Port priority  128,Port Identifier  128.46. Port HelloTime  2,Timers: Hello - 0, Forward Delay - 0, Topology Change - 0
       Designated root has priority 32768, address 00:02:02:03:04:01Designated Bridge has priority 32768, address 00:02:02:03:04:01Designated Port Id is 128.46, Designated pathcost is 0Operational Forward delay 15, Max age 20
       Received Hello Time 2 SecNumber of Transitions to forwarding State : 2Auto-Edge is enabledPortFast is disabled, Oper-Edge is disabled
       Link type is point to PointBPDUs : sent 19, recieved 282Restricted Role is disabled.Restricted TCN is disabled.bpdu-transmit enabledbpdu-receive enabled

       Loop Guard is disabled

       MST01 is executing mstp compatible spanning-tree protocolFlush Invocations 0Flush Indication threshold 0

       Port 46 [Ex0/46]of MST01 is Master, ForwardingPort cost  2000, Port priority  128,Port Identifier  128.46. Port HelloTime  2,Timers: Hello - 0,Forward Delay - 0, Topology Change - 0Designated Root has priority 32768, address 00:01:02:03:04:01
       Designated Bridge has priority 32768, address 00:01:02:03:04:01Designated Port Id is 128.46, Designated pathcost is 0Operational Forward delay 15, Max age 20Number of Transitions to forwarding State : 0BPDUs : sent 0, recieved 0

Copyright © 2010, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |