HP 3600 v2 Series Command Reference Manual page 115

Hide thumbs Also See for 3600 v2 Series:
Table of Contents

Advertisement

Description
Use display stp to display the spanning tree status and statistics.
Based on the spanning tree status and statistics, you can analyze and maintain the network topology or
check whether spanning tree is working properly.
In STP/RSTP mode, follow these guidelines:
If you do not specify any port, this command displays the spanning tree information for all ports.
The displayed information is sorted by port name.
If you specify a port list, this command displays the spanning tree information for the specified ports.
The displayed information is sorted by port name.
In MSTP mode, follow these guidelines:
If you do not specify any MSTI or port, this command displays the spanning tree information of all
MSTIs on all ports. The displayed information is sorted by MSTI ID and by port name in each MSTI.
If you specify an MSTI but not a port, this command displays the spanning tree information on all
ports in that MSTI. The displayed information is sorted by port name.
If you specify some ports but not an MSTI, this command displays the spanning tree information of
all MSTIs on the specified ports. The displayed information is sorted by MSTI ID and by port name
in each MSTI.
If you specify both an MSTI ID and a port list, this command displays the spanning tree information
on the specified ports in the specified MSTI. The displayed information is sorted by port name.
In PVST mode, follow these guidelines:
If you do not specify any VLAN or port, this command displays the spanning tree information of all
VLANs on all ports. The displayed information is sorted by VLAN ID and by port name in each
VLAN.
If you specify a VLAN but not a port, this command displays the spanning tree information on all
ports in that VLAN. The displayed information is sorted by port name.
If you specify some ports but not any VLAN, this command displays the spanning tree information
of all VLANs on the specified ports. The displayed information is sorted by VLAN ID, and by port
name in each VLAN.
If you specify both a VLAN ID and a port list, this command displays the spanning tree information
on the specified ports in the specified VLAN. The displayed information is sorted by port name.
Related commands: reset stp.
Examples
# In MSTP mode, display the brief spanning tree status and statistics of MSTI 0 on ports Ethernet 1/0/1
through Ethernet 1/0/4.
<Sysname> display stp instance 0 interface ethernet 1/0/1 to ethernet 1/0/4 brief
MSTID
0
0
0
0
# In PVST mode, display the brief spanning tree status and statistics of VLAN 2 on ports Ethernet 1/0/1
through Ethernet 1/0/4.
<Sysname> system-view
[Sysname] stp mode pvst
Port
Ethernet1/0/1
Ethernet1/0/2
Ethernet1/0/3
Ethernet1/0/4
Role
STP State
ALTE
DISCARDING
DESI
FORWARDING
DESI
FORWARDING
DESI
FORWARDING
107
Protection
LOOP
NONE
NONE
NONE

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5500 hi series

Table of Contents