Command Reference MSTP Commands
It is used to clear the statistics of the sent and received STP packets.
The following example clears the statistics of the sent and received STP packets.
Ruijie# clear spanning-tree counters
The following example clears the statistics of the sent and received packets on interface Gi 0/1.
Ruijie# clear spanning-tree counters interface gigabitethernet 0/1
show spanning-tree counters
Displays the statistics of STP transceived
packets.
9.4 clear spanning-tree detected-protocols
Use this command to force the interface to send the RSTP BPDU message and check the BPDU
messages.
clear spanning-tree detected-protocols [ interface interface-id ]
Use this command to force the interface to send the RSTP BPDU message.
Forces to check the version of all interfaces.
Ruijie# clear spanning-tree detected-protocols