7-35
To do...
Use the command...
Remarks
View the historical information of port role
calculation for the specified MSTI or all
MSTIs
display stp
[
instance
instance-id
]
history
Available in any view
View the statistics of TC/TCN BPDUs
sent and received by all ports in the
specified MSTI or all MSTIs
display stp
[
instance
instance-id
]
tc
Available in any view
View the status information and statistics
of MSTP
display stp
[
instance
instance-id
]
[
interface
interface-list
]
[
brief
]
Available in any view
View the MST region configuration
information that has taken effect
display stp
region-configuration
Available in any view
View the root bridge information of all
MSTIs
display stp root
Available in any view
Clear the statistics information of MSTP
reset stp
[
interface
interface-list
]
Available in user view
MSTP Configuration Example
Network requirements
Configure MSTP so that packets of different VLANs are forwarded along different spanning trees. The
specific configuration requirements are as follows:
z
All APs on the network are in the same MST region.
z
Each two APs are connected by WDS links.
z
Packets of VLAN 10 are forwarded along MSTI 1, and those of VLAN 20 are forwarded along MSTI
2.
z
AP A, AP B, and AP C are all at the access layer.
Figure 7-10
Network diagram for MSTP configuration
Configuration procedure
1) Configuration on AP A
# Enter MST region view.
<AP A> system-view
[AP A] stp region-configuration
# Configure the region name, VLAN-to-instance mappings and revision level of the MST region.