376CHAPTER 10: STP COMMANDS

display spantree Displays STP configuration and port-state information.

Syntax display spantree

[port-list vlan vlan-id] [active]

„port-list— List of ports. If you do not specify any ports, MSS displays STP information for all ports.

„vlan vlan-idVLAN name or number. If you do not specify a VLAN, MSS displays STP information for all VLANs.

„active — Displays information for only the active (forwarding) ports.

Defaults — None.

Access — All.

History —Introduced in MSS Version 3.0.

Examples — The following command displays STP information for VLAN default:

WX1200# display

spantree vlan default

 

 

 

VLAN

1

 

 

PVST+

 

 

 

Spanning tree mode

 

 

 

 

Spanning tree type

 

IEEE

 

 

 

Spanning tree enabled

 

 

 

 

 

Designated Root

Priority

 

00-02-4a-70-49-f7

 

 

Designated Root

 

32768

 

 

 

Designated Root

Path Cost

19

 

 

 

Designated Root

Port

 

1

Forward Delay 15 sec

Root Max Age

20 sec

Hello Time 2 sec

Bridge ID MAC ADDR

 

00-0b-0e-02-76-f7

 

 

Bridge ID Priority

 

32768

Forward

Delay 15 sec

Bridge Max Age 20 sec

Hello Time 2 sec

Port

 

Vlan

 

Port-State

Cost

Prio

Portfast

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

1

1

Forwarding

19

128

Disabled

2

1

Disabled

19

128

Disabled

3

1

Disabled

19

128

Disabled

4

1

Disabled

19

128

Disabled

5

1

Disabled

19

128

Disabled

6

1

Forwarding

19

128

Disabled

Page 376
Image 376
HP Manager Software manual Syntax display spantree, Spantree vlan default