Cisco Systems OL-6244-01 Switch User Manual


  Open as PDF
of 1438
 
2-161
Catalyst 6500 Series Switch Command Reference—Release 8.4
OL-6244-01
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands
clear spantree statistics
clear spantree statistics
To clear the spanning tree statistics, use the clear spantree statistics command.
clear spantree statistics mod/port
clear spantree statistics vlans
clear spantree statistics mistp-instance instances
clear spantree statistics mst instances
clear spantree statistics bpdu
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines When you enter the clear spantree statistics bpdu command, the counters for transmitted, received,
processed, and dropped BPDUs and the rate of these BPDUs are cleared.
Examples This example shows how to clear the spanning tree statistics for VLAN 1:
Console> (enable) clear spantree statistics 1
Cleared all VLAN counters for VLAN 1
Statistics cleared for vlans 1
Console> (enable)
This example shows how to clear the spanning tree statistics for a port:
Console> (enable) clear spantree statistics 3/1
Statistics cleared for module 3/1
Console> (enable)
mod/port Number of the module and the port on the module.
vlans (Optional) Number of the VLAN; valid values are from 1 to 4094.
mistp-instance
instances
Specifies the instance number; valid values are from 1 to 16.
mst instances Specifies the MST instance number; valid values are from 0 to 15.
bpdu Clears the spanning tree BPDU counters. See the “Usage Guidelines” section for
more information.