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
In STP or RSTP mode, the displayed information is sorted by port name.
In MSTP mode, follow these guidelines:
•
If you do not specify any MSTI, this command displays the statistics of TC/TCN BPDUs
received and sent by all ports in all MSTIs. The displayed information is sorted by instance ID
and by port name in each MSTI.
•
If you specify an MSTI, this command displays the statistics of TC/TCN BPDUs received and
sent by all ports in the specified MSTI, in port name order.
Examples
# In MSTP mode, display the statistics of TC/TCN BPDUs received and sent by all ports in MSTI 0.
<Sysname> display stp instance 0 tc
MSTID
0
0
Table 20 Command output
Field
Port
Receive
Send
instance
Use instance to map a list of VLANs to the specified MSTI.
Use undo instance to remap the specified VLAN or all VLANs to the CIST (MSTI 0).
Syntax
instance instance-id vlan vlan-list
undo instance instance-id [ vlan vlan-list ]
Default
All VLANs are mapped to the CIST.
Views
MST region view
Default command level
2: System level
Parameters
instance-id: Specifies an MSTI ID. The minimum value is 0, representing the CIST, and the maximum
value is 15.
vlan vlan-list: Specifies a VLAN list in the format of vlan-list = { vlan-id [ to vlan-id ] }&<1-10>, where
the vlan-id argument represents the VLAN ID in the range of 1 to 4094, and &<1-10> indicates that
you can specify up to 10 VLAN IDs or VLAN ID ranges.
Port
Ethernet1/1
Ethernet1/2
Receive
6
0
Description
Port name.
Number of TC/TCN BPDUs received on each port.
Number of TC/TCN BPDUs sent by each port.
61
Send
4
2