H3C MSR Series Command Reference Manual page 57

Comware 5 layer 2 - lan switching
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

Views
Any view
Default command level
1: Monitor level
Parameters
instance instance-id: Displays the status and statistics information of a specific MSTI. The minimum
value of instance-id is 0, representing the CIST, and the maximum value of instance-id is 15.
interface interface-list: Displays the spanning tree status and statistics on the ports specified by a
port list, in the format of interface-list = { interface-type interface-number [ to interface-type
interface-number ] }&<1-10>, where &<1-10> indicates that you can specify up to 10 ports or port
ranges.
brief: Displays brief spanning tree status and statistics.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
Based on the spanning tree status and statistics information, you can analyze and maintain the
network topology or check whether spanning tree is operating correctly.
In STP or RSTP mode:
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:
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.
Examples
# In MSTP mode, display the brief spanning tree status and statistics information of MSTI 0 on ports
Ethernet 1/1 through Ethernet 1/4.
<Sysname> display stp instance 0 interface ethernet 1/1 to ethernet 1/4 brief
MSTID
0
0
0
Port
Ethernet1/1
Ethernet1/2
Ethernet1/3
Role
STP State
ALTE
DISCARDING
DESI
FORWARDING
DESI
FORWARDING
49
Protection
LOOP
NONE
NONE

Advertisement

Table of Contents
loading

Table of Contents