Technical data

Table Of Contents
210 Converged Enhanced Ethernet Command Reference
53-1002508-01
show spanning-tree interface
2
show spanning-tree interface
Displays the state of the Spanning Tree Protocol for all named port-channels or 10 Gbps Ethernet
interfaces.
Synopsis show spanning-tree interface {port-channel number | tengigabitethernet slot/port}
Operands port-channel number
Specifies the port-channel number. The range of valid values is from 1
through 63.
tengigabitethernet
Specifies a valid 10 Gbps Ethernet interface.
slot Specifies a valid slot number.
port Specifies a valid port number.
Defaults None
Command
Modes
Privileged EXEC mode
EXEC mode
Description Use this command to display the state of the spanning tree for all named port-channels or 10 Gbps
Ethernet interfaces.
Usage
Guidelines
The following describes the port roles, states, and types:
Port roles—root port, designated port, alternate port, and backup port
Port states—discarding, learning, and forwarding
Port types—edge port (PortFast), point-to-point, and shared port
Examples To display information on a 10 Gbps Ethernet interface:
switch#show spanning-tree interface tengigabitethernet 0/0
Spanning-tree Mode: Rapid Spanning Tree Protocol
Root Id: 8000.0005.1e76.1aa0 (self)
Bridge Id: 8000.0005.1e76.1aa0
Port Te 0/0 enabled
IfIndex: 67108864; Id: 8000; Role: Disabled; State: Discarding
Designated Path Cost: 0
Configured Path Cost: 2000
Designated Port Id: 0; Port Priority: 128
Designated Bridge: 0000.0000.0000.0000
Number of forward-transitions: 0
Version Rapid Spanning Tree Protocol - Received None - Send RSTP
Edgeport: off; AutoEdge: no; AdminEdge: no; EdgeDelay: 3 sec
Configured Root guard: off; Operational Root guard: off
Boundary: yes
Bpdu-guard: off
Bpdu-filter: off
Link-type: point-to-point
Received BPDUs: 0; Sent BPDUs: 0
See Also show spanning-tree brief