To delete all bridge and port level spanning tree statistics information, use the command clear spanning-tree in Global Configuration Mode.
Parameter | Type | Description |
---|---|---|
mst
|
Enter to clear the statistical counters specific to the MSTP instance already created in the switch. | |
<instance-id (1-64)>
|
Enter a value for the MSTP instance already created in the switch. This value ranges from 1 to 64. The special value 4094 can be used only in the switch that supports PBB-TE. This special value represents PTETID that identifies VID used by ESPs. This option is applicable, only if the spanning tree mode is set as MST. | |
counters
|
Integer | Enter a number for maximum retries. The value ranges from 1 to 12. |
interface
|
Enter to clear all port-level spanning-tree statistics information for the given port. | |
interface-type
|
Enter to clear all port-level spanning-tree statistics
information for the specified type of interface. The interface can
be:
|
|
<interface-id>
|
Enter to clear a specific slot number / port number. The format is <0>/<1-28> without spaces between Slot Number/Port Number. For example, 0/1. |
Global Configuration Mode
The statistics information can be deleted, only if the spanning tree functionality has not been shut down in the switch. The type of spanning tree mode should be set, if the functionality is already shutdown.
iS5Comm(config)# clear spanning-tree counters interface gigabitethernet 0/1