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
% BPDU Related Parameters
% -----------------------
% Port Spanning Tree : Enable
% Spanning Tree Type : Spanning Tree Protocol
% Current Port State : Learning
% Port ID : 8004
% Port Number : 4
% Path Cost : 200000
% Message Age : 0
% Designated Root : 00:02:b3:d5:91:ec
% Designated Cost : 0
% Designated Bridge : 00:02:b3:d5:91:ec
% Designated Port Id : 8005
% Top Change Ack : FALSE
% Configure Pending : FALSE
% PORT Based Information & Statistics
% -----------------------------------
% Configure Bpdu's xmitted : 0
% Configure Bpdu's received : 22
% TCN Bpdu's xmitted : 0
% TCN Bpdu's received : 8
% Forward Trans Count : 0
% STATUS of Port Timers
% ---------------------
% Hello Time Configured : 2
% Hello timer : ACTIVE
% Hello Time Value : 1
% Forward Delay Timer : ACTIVE
% Forward Delay Timer Value : 1
% Message Age Timer : ACTIVE
% Message Age Timer Value : 19
% 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 : 14
% Src Mac Count : 0
% Total Src Mac Rcvd : 15
% Next State : Blocked
% Topology Change Time : 0
% Other Bridge information & Statistics
--------------------------------------
% STP Multicast Address : 01:80:c2:00:00:00
% Bridge Priority : 32768
% Bridge Mac Address : 00:02:b3:d5:98:3f
% Bridge Hello Time : 2
% Bridge Forward Delay : 15
% Topology Change Initiator : 0
% Last Topology Change Occurred : Wed Dec 31 16:00:00 1969
% Topology Change : FALSE
% Topology Change Detected : FALSE
% Topology Change Count : 0
% Topology Change Last Recvd from : 00:00:00:00:00:00
Table 3-9 Explains the show command output fields.
Table 3-9: show spanning-tree statistics output fields
Table 3-10:
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/13/2023