show spanning-tree statistics
Use this command to display detailed BPDU statistics for a spanning tree instance.
Command Syntax
show spanning-tree statistics bridge <1-32>
show spanning-tree statistics interface IFNAME (instance (<1-63>)| vlan <2-4094>) bridge <1-32>
show spanning-tree statistics (interface IFNAME | (instance (<1-63>) | vlan <1-4094>)) bridge <1-32>
Parameters
<1-32>
Bridge identifier.
<1-63>
MST instance identifier.
IFNAME
Displays the interface name.
<2-4094>
Specify a VLAN identifier, associated with the instance.
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
In the following example, bridge-group 1 is configured for IEEE on the eth2 interface.
#show spanning-tree statistics interface eth2 bridge 1
Port number = 4 Interface = eth2
================================
% BPDU Related Parameters
% -----------------------
% Port Spanning Tree : Enable
% Spanning Tree Type : Spanning Tree Protocol
% Current Port State : Forwarding
% Port ID : 8004
% Port Number : 4
% Path Cost : 19
% Message Age : 0
% Designated Root : 80:00:52:54:00:b2:49:c1
% Designated Cost : 0
% Designated Bridge : 80:00:52:54:00:b2:49:c1
% Designated Port Id : 0x8004
% Top Change Ack : FALSE
% Config Pending : FALSE
% PORT Based Information & Statistics
% -----------------------------------
% Config Bpdu's xmitted : 54327
% Config Bpdu's received : 0
% TCN Bpdu's xmitted : 50
% TCN Bpdu's received : 3
% Forward Trans Count : 1
% STATUS of Port Timers
% ---------------------
% Hello Time Configured : 2
% Hello timer : ACTIVE
% Hello Time Value : 0
% Forward Delay Timer : INACTIVE
% Forward Delay Timer Value : 0
% Message Age Timer : INACTIVE
% Message Age Timer Value : 0
% Topology Change Timer : INACTIVE
% Topology Change Timer Value : 0
% Hold Timer : INACTIVE
% Hold Timer Value : 0
% Other Port-Specific Info
------------------------
% Max Age Transitions : 1
% Msg Age Expiry : 0
% Similar BPDUS Rcvd : 0
% Src Mac Count : 0
% Total Src Mac Rcvd : 3
% Next State : Discard/Blocking
% Topology Change Time : 0
% Other Bridge information & Statistics
--------------------------------------
% STP Multicast Address : 01:80:c2:00:00:00
% Bridge Priority : 32768
% Bridge Mac Address : 80:00:52:54:00:b2
% Bridge Hello Time : 2
% Bridge Forward Delay : 15
% Topology Change Initiator : 5
% Last Topology Change Occured : Wed Feb 17 09:39:58 2021
% Topology Change : FALSE
% Topology Change Detected : FALSE
% Topology Change Count : 5
% Topology Change Last Recvd from : 00:00:00:00:00:00
Table 4-14 Explains the show command output fields.
Table 4-14: show spanning-tree statistics output fields
Field | Description |
---|
BPDU Related Parameters | Details of the BPDU related parameters. |
PORT Based Information & Statistics | Information of the port and interface for which the statistics are being displayed. |
STATUS of Port Timers | Status of the port timers. |
Other Port-Specific Info | Specific information about the port. |
Other Bridge information & Statistics | Information about bridge and statistics being displayed. |
Last modified date: 07/06/2023