Raisecom
ISCOM2600G-HI (A) Series Configuration Guide
2 Ethernet
Raisecom Proprietary and Confidential
Copyright © Raisecom Technology Co., Ltd.
82
Raisecom#name SwitchA
SwitchA#config
SwitchA(config)#create vlan 100,101,102,200,201,202,1000,2000 active
SwitchA(config)#interface gigaethernet 1/1/1
SwitchA(config-gigaethernet1/1/1)#switchport mode trunk
SwitchA(config-gigaethernet1/1/1)#switchport trunk allowed vlan 1000,2000
SwitchA(config-gigaethernet1/1/1)#tpid 9100
SwitchA(config-gigaethernet1/1/1)#exit
Step 2
Enable selective QinQ on GE 1/1/2.
SwitchA(config)#interface gigaethernet 1/1/2
SwitchA(config-gigaethernet1/1/2)#switchport mode trunk
Raisecom(config-gigaethernet1/1/2)#switchport trunk allowed vlan
100,101,102,200,201,202,1000,2000
SwitchA(config-gigaethernet1/1/2)#switchport vlan-mapping both inner 100-
102 add-outer 1000
SwitchA(config-gigaethernet1/1/2)#switchport vlan-mapping both inner 200-
202 add-outer 2000
SwitchA(config-gigaethernet1/1/2)#exit
Checking results
Use the following command to show configurations of selective QinQ.
Take Switch A for example.
SwitchA#show vlan-mapping both interface gigaethernet 1/1/2
Interface : GE1/1/2
Default cvlan: --
--------------------------------
Original Outer VLANs: --
Original Outer COS: --
Original Inner VLANs: 200-202
Original Inner COS: --
Vlan mapping Mode: S-ADD
New Outer-VID: 2000
New Outer-COS: --
New Inner-VID: --
New Inner-COS: --
---------------------------
Original Outer VLANs: --
Original Outer COS: --
Original Inner VLANs: 100-102
Original Inner COS: --
Vlan mapping Mode: S-ADD
New Outer-VID: 1000
New Outer-COS: --
New Inner-VID: --
New Inner-COS: --