Specifications
12-28 STP Commands
show spantree statistics
DisplaysSTPstatisticsforoneormoreRoamAboutswitchnetworkports.
Syntax
show spantree statistics [port-list [vlan vlan-id]]
Parameters
Defaults
None.
Mode
All.
Usage
Thecommanddisplaysstatisticsseparatelyforeachport.
Example
ThefollowingcommandshowsSTPstatisticsforport1:
RBT-8100# show spantree statistics 1
BPDU related parameters
Port 1 VLAN 1
spanning tree enabled for VLAN = 1
port spanning tree enabled
state Forwarding
port_id 0x8015
port_number 0x15
path cost 0x4
message age (port/VLAN) 0(20)
designated_root 00-0b-0e-00-04-30
designated cost 0x0
designated_bridge 00-0b-0e-00-04-30
designated_port 38
top_change_ack FALSE
config_pending FALSE
port_inconsistency none
port‐list Listofports.Ifyoudonotspecifyanyports,MSSdisplaysSTPstatisticsfor
allports.
vlanvlan‐id VLANnameornumber.Ifyoudonotspeci fyaVLAN,MSSdisplaysSTP
statisticsforallVLANs.