DES-7200 Configuration Guide Chapter 10 MSTP Configuration
10-44
DES-7200(config-if)# exit
DES-7200(config)# interface gigabitEthernet 0/2
DES-7200(config-if)# switchport mode trunk
DES-7200(config-if)# exit
DES-7200(config)# vlan 2
DES-7200(config-vlan)# exit
DES-7200(config)# vlan 3
DES-7200(config-vlan)# exit
# Set the spanning tree to MSTP mode, VLAN 2-Instance 1 and VLAN 3-Instance 2
mapping, and set the MST configuration name to DES-7200, MST Revision Number
to 1. View the MST configurations and enable the spanning tree protocol.
DES-7200(config)# spanning-tree mode mstp
DES-7200(config)# spanning-tree mst configuration
DES-7200(config-mst)# instance 1 vlan 2
%Warning:you must create vlans before configuring instance-vlan relationship
DES-7200(config-mst)# instance 2 vlan 3
%Warning:you must create vlans before configuring instance-vlan relationship
DES-7200(config-mst)# name DES-7200
DES-7200(config-mst)# revision 1
DES-7200(config-mst)# show
Multi spanning tree protocol : Enable
Name : DES-7200
Revision : 1
Instance Vlans Mapped
-------- --------------------------------------------
0 : 1, 4-4094
1 : 2
2 : 3
-----------------------------------------------------
DES-7200(config-mst)# exit