24-Port Gigabit Layer 2 Switch w/ 4 Shared Mini-GBIC Slots
Command History
show spanning-tree interface
Command
Syntax Description
Command Modes
User Guidelines
28-16
MST00 00:74:24:00:01:00
Switch - cust1
MST00 00:74:24:00:01:02
Version
History
1.00.001
This command was introduced
To display the spanning tree states, statistics, settings information on a port.
show spanning-tree interface <interface-type> <interface-id>
[{ cost | priority | portfast | rootcost | restricted-role |
restricted-tcn | state | stats | detail }]
interface-type
interface-id
cost
priority
portfast
rootcost
restricted-role
restricted-tcn
state
stats
detail
Privileged EXEC Mode
Specify the information of which interface to display.
Interface-type including Fa (Fast Ethernet), Gi
(Gigabit Ethernet) or port-channel.
Interface-id is slot/port number or port channel ID.
Display the port cost.
Display the port priority.
Display the portfast state.
Display the rootcost.
Display the setting of restricted-role function.
Display the setting of restricted-tcn function.
Display the spanning tree state
Display the spanning tree statistics
Display the detailed information of port and root
bridge.