beautypg.com

15 show spanning-tree, Syntax, Default configuration – PLANET WGSD-1022 User Manual

Page 275: Command modes, User guidelines, Examples

background image

5.21.15 show spanning-tree

The show spanning-tree privileged EXEC command displays spanning-tree configuration.

Syntax

show spanning-tree [ ethernet interface | port-channel port-channel-number ]

show spanning-tree [detail] [active | blockedports]

ƒ interface — The full syntax is: unit/port. (Range: Valid Ethernet port)

ƒ port-channel-number — Port channel index. (Range:Valid port channel)

ƒ instance-id — ID associated with a spanning-tree instance.(Range: 1 - 15)

ƒ detail — Display detailed information.

ƒ active — Display active ports only.

ƒ blockedports — Display blocked ports only.

Default Configuration

This command has no default configuration.

Command Modes

Privileged EXEC mode

User Guidelines

There are no user guidelines for this command.

Examples

The following example displays spanning-tree information.

Console# show spanning-tree

Spanning tree enabled mode RSTP

Default port cost method: short

Root ID Priority 32768

Address 0001.4297.e000

Cost 57

Port g 1

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 32768