SGS-6341-Series User Manual

Table Of Contents
22-124
By default, the MSTP establishes a tree topology (in blue lines) rooted with Switch A. The ports
marked with “x” are in the discarding status, and the other ports are in the forwarding status.
Configurations Steps:
Step 1: Configure port to VLAN mapping:
Create VLAN 20, 30, 40, 50 in Switch 2, Switch 3 and Switch 4.
Set ports 1-7 as trunk ports in Switch 2 Switch 3 and Switch 4.
Step 2: Set Switch 2, Switch 3 and Switch 4 in the same MSTP:
Set Switch 2, Switch 3 and Switch 4 to have the same region name as mstp.
Map VLAN 20 and VLAN 30 in Switch 2, Switch 3 and Switch 4 to Instance 3; Map
VLAN 40 and VLAN 50 in Switch 2, Switch 3 and Switch 4 to Instance 4.
Step 3: Set Switch 3 as the root bridge of Instance 3; Set Switch 4 as the root bridge of
Instance 4
Set the bridge priority of Instance 3 in Switch 3 as 0.
Set the bridge priority of Instance 4 in Switch 4 as 0.
The detailed configuration is listed below:
Switch 2:
Switch2(config)#vlan 20
Switch2(Config-Vlan20)#exit
Switch2(config)#vlan 30
Switch2(Config-Vlan30)#exit
Switch2(config)#vlan 40
Switch2(Config-Vlan40)#exit
Switch2(config)#vlan 50
Switch2(Config-Vlan50)#exit
Switch2(config)#spanning-tree mst configuration
Switch2(Config-Mstp-Region)#name mstp
Switch2(Config-Mstp-Region)#instance 3 vlan 20;30
Switch2(Config-Mstp-Region)#instance 4 vlan 40;50
Switch2(Config-Mstp-Region)#exit
Switch2(config)#interface e1/1-7
Switch2(Config-Port-Range)#switchport mode trunk
Switch2(Config-Port-Range)#exit
Switch2(config)#spanning-tree
User’s Manual of SGS-6341 series