Mstp Configuration Example - H3C S5120-EI Series Operation Manual

Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

To do...
View the status information and
statistics information of MSTP
View the MST region
configuration information that
has taken effect
View the root bridge
information of all MSTIs
Clear the statistics information
of MSTP

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:
All devices on the network are in the same MST region.
Packets of VLAN 10 are forwarded along MSTI 1, those of VLAN 30 are forwarded along MSTI 3,
those of VLAN 40 are forwarded along MSTI 4, and those of VLAN 20 are forwarded along MSTI 0.
Device A and Device B are distribution layer devices, while Device C and Device D are access
layer devices. VLAN 10 and VLAN 30 are terminated on the distribution layer devices, and VLAN
40 is terminated on the access layer devices, so the root bridges of MSTI 1 and MSTI 3 are Device
A and Device B respectively, while the root bridge of MSTI 4 is Device C.
Figure 1-10 Network diagram for MSTP configuration
Device A
Permit:
VLAN 10,20
VLAN 10,20
Device C
"Permit:" beside each link in the figure is followed by the VLANs the packets of which are permitted to
pass this link.
Configuration procedure
1)
Configuration on Device A
# Enter MST region view.
display stp [ instance
instance-id ] [ interface
interface-list | slot slot-number ]
[ brief ]
display stp
region-configuration
display stp root
reset stp [ interface
interface-list ]
Device B
Permit:all VLAN
Permit:
Permit:
VLAN 20,30
Permit:VLAN 20,40
Use the command...
Permit:
VLAN 20,30
Device D
1-41
Remarks
Available in any view
Available in any view
Available in any view
Available in user view

Advertisement

Chapters

Table of Contents
loading

Table of Contents