beautypg.com

Show spanning-tree brief – Brocade Network OS Command Reference v4.1.0 User Manual

Page 1204

background image

1166

Network OS Command Reference

53-1003115-01

show spanning-tree brief

2

show spanning-tree brief

Displays the status and parameters of the Spanning Tree Protocol (STP).

Synopsis

show spanning-tree [vlan vlan_id] brief

Operands

vlan vlan_id

Specifies a VLAN. Refer to the Usage Guidelines.

Defaults

None

Command Modes

Privileged EXEC mode

Description

Use this command to display a summary of the status and parameters of STP for each interface,
including the port roles and port states.

The following describes the port roles and states:

Port roles—root port, designated port, alternate port and backup port.

Port states—discarding, learning, forwarding, and blocked.

Port types—edge port (PortFast), point-to-point, and shared port.

Usage Guidelines

On the Brocade VDX family of switches, VLANs are treated as interfaces from a configuration point
of view. By default, all the DCB ports are assigned to VLAN 1 (VLAN ID equals 1). Valid VLAN IDs
are as follows:

On Brocade VDX 8770 switches: 1 through 4086 for 802.1Q VLANs (VLAN IDs 4087
through 4095 are reserved on these switches), and 4096 through 8191 for service or
transport VFs in a Virtual Fabrics context.

On all other Brocade VDX switches: 1 through 3962 for 802.1Q VLANs (VLAN IDs 3963
through 4095 are reserved on these switches), and 4096 through 8191 for service or transport
VFs in a Virtual Fabrics context.When “root guard” is in effect, the show spanning-tree brief
command output shows the port state as ERR, not root_inc.

Examples

To display the interface summary of the Spanning Tree Protocol:

switch# show spanning-tree brief

Spanning-tree Mode: Rapid Spanning Tree Protocol

Root ID

Priority 32768

Address

0005.1e76.1aa0

Hello Time 2, Max Age 20, Forward Delay 15

Bridge ID

Priority 32768

Address

0005.1e76.1aa0

Hello Time 2, Max Age 20, Forward Delay 15, Tx-HoldCount 6

Migrate Time 3 sec

Interface

Role

Sts

Cost

Prio

Link-type

Boundary

Edge

-------------------------------------------------------------------------

Te 0/0

DIS

DSC

2000

128

P2P

Yes

No

Te 0/1

ALT

BLK

2000

128

P2P

Yes

No

Te 0/2

RTPT

BLK

2000

128

P2P

Yes

No

Te 0/3

DIS

BLK

2000

128

P2P

Yes

No

Te 0/8

DIS

DSC

2000

128

P2P

Yes

No

Te 0/19

DIS

DSC

2000

128

P2P

Yes

No

Te 0/20

DIS

DSC

2000

128

P2P

Yes

No