MES53xx, MES33xx, MES23xx Ethernet Switch Series 203
console(config)# spanning-tree mst configuration
console(config-mst)# name sandbox
console(config-mst)# instance 1 vlan 10,20,30
console(config-mst)# instance 2 vlan 40,50,60
console(config-mst)# exit
console(config)# do write
console(config)# spanning-tree mst 1 priority 0
console(config)# exit
console#copy running-config tftp://10.10.10.1/mstp.conf
Configuring selective-qinq
Adding SVLAN
This example of switch configuration demonstrates how a SVLAN 20 stamp can be added to all
VLANs except for VLAN 27.
console# show running-config
vlan database
vlan 20,27
exit
!
interface tengigabitethernet1/0/5
switchport mode general
switchport general allowed vlan add 27 tagged
switchport general allowed vlan add 20 untagged
switchport general ingress-filtering disable
selective-qinq list ingress permit ingress_vlan 27
selective-qinq list ingress add_vlan 20
exit
Substitution of CVLAN
In transportation networks the tasks of VLAN spoofing prevention are not uncommon (for example,
there is a typical configuration of access level switches, but user traffic, VOIP and control traffic needs to
be transmitted in various VLANs to different directions). In this case, it is convenient to use CVLAN
spoofing function to replace typical VLANs with VLAN for the required direction. Below is a switch
configuration that replaces VLAN 100, 101 and 102 by 200, 201 and 202:
console# show running-config
vlan database
vlan 100-102,200-202
exit
!
interface tengigabitethernet 1/0/1
switchport mode trunk
switchport trunk allowed vlan add 100-102,200-202
selective-qinq list egress override_vlan 100 ingress_vlan 200
selective-qinq list egress override_vlan 101 ingress_vlan 201
selective-qinq list egress override_vlan 102 ingress_vlan 202
exit