R3102-R3103-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Configuration Guide
77
MSTP configuration example
Network requirements
As shown in Figure 23:
• All devices on the network are in the same MST region. Router A and Router B work at the
distribution layer. Router C and Router D work at the access layer.
• Configure MSTP so that packets of different VLANs are forwarded along different spanning trees:
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.
• VLAN 10 and VLAN 30 are terminated on distribution layer devices, and VLAN 40 is terminated
on access layer devices. The root bridges of MSTI 1 and MSTI 3 are Router A and Router B,
respectively, and the root bridge of MSTI 4 is Router C.
Figure 23 Network diagram
Configuration procedure
1. Configure VLANs and VLAN member ports:
Create VLAN 10, VLAN 20, and VLAN 30 on Router A and Router B, respectively. Create VLAN
10, VLAN 20, and VLAN 40 on Router C, and VLAN 20, VLAN 30, and VLAN 40 on Router D.
Configure the ports on these devices as trunk ports and assign them to related VLANs. (Details not
shown.)
2. Configure Router A:
# Enter MST region view and configure the MST region name as example. Map VLAN 10, VLAN
30, and VLAN 40 to MSTI 1, MSTI 3, and MSTI 4, respectively. Configure the revision level of the
MST region as 0.
<RouterA> system-view
[RouterA] stp region-configuration
[RouterA-mst-region] region-name example
MST region
Permit: all VLAN
P
e
r
mi
t:
V
L
A
N
2
0
,
3
0
P
e
r
mi
t
:
V
L
A
N
1
0
,
2
0
Permit: VLAN 20, 40
Permit: VLAN 20, 30Permit: VLAN 10, 20
Router A Router B
Router C Router D
GE4/0/3
G
E
4
/
0
/
2
GE4/0/3
G
E
4
/
0
/
2
GE4/0/3 GE4/0/3
G
E
4
/
0
/
2
G
E
4
/
0
/
2










