beautypg.com

Syntax, Default configuration, Command modes – Planet Technology WGSW-48040 User Manual

Page 293: User guidelines, Examples

background image

User’s Manual of WGSW-24020/WGSW-48040

-29

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

Address 0002.4b29.7a00

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

Number of topology changes 2 last change occurred 2d18h ago

Times: hold 1, topology change 35, notification 2

This manual is related to the following products: