Command Reference MSTP Commands
Displays the information of MSTP instances and forwarding status
of the interfaces.
Displays the block port due to root guard or loop guard.
Displays BridgeForwardDelay.
Displays BridgeHelloTime.
Displays the maximum hops of an instance.
Displays the method used for calculating path cost.
Displays the statistics of STP transceived packets.
Privileged EXEC mode, global configuration mode and interface configuration mode.
The following example displays the global spanning-tree configuration.
Ruijie# show spanning-tree hello-time
The following example displays the sent and received STP packets.
Ruijie# show spanning-tree counters
---------------------- STP BPDU count ----------------------
Port Receive Send
GigabitEthernet 0/3 0 122594
------------------------- STP TC or TCN count -------------------------
MSTID Port Receive Send
0 GigabitEthernet 0/3 0 0
spanning-tree pathcost method
Sets the pathcost method.
spanning-tree forward-time
Sets the maximum hops of an instance.
spanning-tree tx-hold-count