Ping a host of Enterprise 2 from a host in any office location of Enterprise 1. If it fails to ping
the host of Enterprise 2, the two enterprises are isolated from each other.
----End
Configuration Files
The following lists the configuration files of the Switch.
l Configuration file of SwitchF
#
sysname SwitchF
#
vlan batch 10 20
#
interface GigabitEthernet1/0/1
port link-type dot1q-tunnel
port default vlan 10
#
interface GigabitEthernet2/0/1
port link-type dot1q-tunnel
port default vlan 20
#
interface GigabitEthernet3/0/1
port link-type dot1q-tunnel
port default vlan 10
#
interface GigabitEthernet4/0/1
port link-type trunk
port trunk allow-pass vlan 20
#
return
l Configuration file of SwitchG
#
sysname SwitchG
#
vlan batch 20
#
interface GigabitEthernet1/0/1
port link-type dot1q-tunnel
port default vlan 20
#
interface GigabitEthernet2/0/1
port link-type dot1q-tunnel
port default vlan 20
#
interface GigabitEthernet3/0/1
port link-type trunk
port trunk allow-pass vlan 20
#
return
5.12.2 Example for Configuring Selective QinQ
Networking Requirements
As shown in Figure 5-2, common Internet access users (using PCs) and IPTV users (using IPTV
terminals) connect to the carrier network through Switch A and Switch B and communicate with
each other through the carrier network.
It is required that packets of PCs and IPTV terminals are tagged VLAN 2 and VLAN 3 when
the packets are transmitted through the carrier network.
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.
218