Information Commands

Spanning Tree information

The following table describes the Spanning Tree Protocol (STP) information commands.

Table 22 STP information commands

Command

 

Usage

 

 

 

show spanning-tree stp <1-128>

 

Displays information about the spanning tree group.

 

 

Command mode: All

 

 

Displays STP bridge information.

show spanning-tree stp <1-128> bridge

 

 

 

Command mode: All

 

 

Displays STP information.

show spanning-tree [<1-128>] information

 

 

 

Command mode: All

 

 

 

The following command displays Spanning Tree information:

show spanning-tree stp <1-128> information Command mode: All

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

upfast disabled, update 40

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

Spanning Tree

Group 1: On (STP/PVST+)

 

 

 

 

 

VLANs: 1

 

 

 

 

 

 

 

 

Current Root:

 

Path-Cost

Port

Hello MaxAge FwdDel

 

8000 00:02:a5:d1:0f:ed

8

20

2

20

15

 

Parameters: Priority

Hello

MaxAge

FwdDel

 

Aging

 

 

 

 

32768

2

20

15

 

180

 

 

Port

Priority

Cost

FastFwd

State

 

Designated Bridge

Des Port

----

--------

----

--------

----------

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

1

0

0

n

FORWARDING *

 

 

 

 

2

0

0

n

FORWARDING *

 

 

 

 

3

0

0

n

FORWARDING *

 

 

 

 

The switch software uses the IEEE 802.1d Spanning Tree Protocol (STP). If RSTP/MSTP is turned on, see the “Rapid Spanning Tree information” section for Spanning Tree Group information. In addition to seeing if STP is enabled or disabled, you can view the following STP bridge information:

Status of Uplink Fast (upfast)

Current root MAC address

Path cost

Port

Hello interval

Maximum age value

Forwarding delay

Aging time

37

Page 37
Image 37
HP 445942-001 manual Spanning Tree information, Show spanning-tree stp 1-128 information Command mode All