beautypg.com

Configuration procedure – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 89

background image

80

Figure 22 Network diagram for MSTP configuration

Configuration procedure

1.

VLAN and VLAN member port configuration (details not shown)

Create VLAN 10, VLAN 20, and VLAN 30 on Device A and Device B respectively, VLAN 10, VLAN 20,

and VLAN 40 on Device C, and VLAN 20, VLAN 30, and VLAN 40 on Device D. Configure the ports

on these devices as trunk ports and assign them to related VLANs.

2.

Configuration on Device A

# Enter MST region view, configure the MST region name as example, map VLAN 10, VLAN 30, and

VLAN 40 to MSTI 1, MSTI 3, and MSTI 4 respectively, and configure the revision level of the MST region
as 0.

system-view

[DeviceA] stp region-configuration

[DeviceA-mst-region] region-name example

[DeviceA-mst-region] instance 1 vlan 10

[DeviceA-mst-region] instance 3 vlan 30

[DeviceA-mst-region] instance 4 vlan 40

[DeviceA-mst-region] revision-level 0

# Activate MST region configuration.

[DeviceA-mst-region] active region-configuration

[DeviceA-mst-region] quit

# Specify the current device as the root bridge of MSTI 1.

[DeviceA] stp instance 1 root primary

# Enable the spanning tree feature globally.

[DeviceA] stp enable

3.

Configuration on Device B

# Enter MST region view, configure the MST region name as example, map VLAN 10, VLAN 30, and

VLAN 40 to MSTI 1, MSTI 3, and MSTI 4 respectively, and configure the revision level of the MST region
as 0.

system-view

[DeviceB] stp region-configuration

Permit: all VLAN

Per

mit:

VL

AN

20

, 30

Pe

rm

it:

V

LA

N

10

, 2

0

Permit: VLAN 20, 40

Permit: VLAN 20, 30

Permit: VLAN 10, 20

Device A

Device B

Device C

Device D

GE1/0/3

GE

1/0

/2

GE1/0/3

GE

1/0

/2

GE1/0/3

GE1/0/3

GE

1/0

/2

GE

1/0

/2

MST region