#
return
l Configuration file of Switch2
#
sysname Switch2
#
vlan batch 100
#
interface GigabitEthernet2/0/0
port hybrid tagged vlan 100
#
interface GigabitEthernet1/0/0
port hybrid untagged vlan 100
port vlan-stacking vlan 10 stack-vlan 100
#
return
l Configuration file of CE2
#
sysname CE2
#
vlan batch 10
#
interface Vlanif 10
ip address 100.1.1.2 255.255.255.0
#
interface GigabitEthernet1/0/0
port link-type trunk
port trunk allow-pass vlan 10
#
return
5.12.8 Example for Connecting a Sub-interface Enabled with the
Single-Tag VLAN Mapping to a VLL Network
Networking Requirements
As shown in Figure 5-8, CE1 and CE2 are connected to PE1 and PE2 respectively through
VLANs.
A Martini VLL is set up between CE1 and CE2.
Figure 5-8 Networking diagram for configuring a Martini VLL
Martini
GE 2/0/0
GE 2/0/0
GE 1/0/0
GE 2/0/0
P
PE 2PE 1
CE 1
GE 1/0/0
GE1/0/0
GE1/0/0
Loopback1
1.1.1.9/32
Loopback1
2.2.2.9/32
Loopback1
3.3.3.9/32
GE1/0/0
CE 2
Switch
Interface VLANIF interface IP address
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 5 QinQ Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
245