HP 3100 v2 Series Command Reference Manual page 95

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

Advertisement

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
[Sysname] display stp vlan 2 interface ethernet 1/0/1 to ethernet 1/0/4 brief
VLAN
2
2
2
2
Port
Ethernet1/0/1
Ethernet1/0/2
Ethernet1/0/3
Ethernet1/0/4
Port
Ethernet1/0/1
Ethernet1/0/2
Ethernet1/0/3
Ethernet1/0/4
Role
STP State
ALTE
DISCARDING
DESI
FORWARDING
DESI
FORWARDING
DESI
FORWARDING
Role
STP State
ALTE
DISCARDING
DESI
FORWARDING
DESI
FORWARDING
DESI
FORWARDING
88
Protection
LOOP
NONE
NONE
NONE
Protection
LOOP
NONE
NONE
NONE

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents