port trunk allow-pass vlan 300
#
return
l Configuration file of SwitchD
#
sysname SwitchD
#
vlan batch 300
#
interface GigabitEthernet1/0/2
port link-type trunk
port trunk allow-pass vlan 300
#
return
4.7.4 Example for Configuring Flow-based VLAN Mapping
Networking Requirements
As shown in Figure 4-4, outer VLAN ID 100 and inner VLAN ID 10 are assigned Enterprise
A; outer VLAN ID 200 and inner VLAN ID 20 are assigned to Enterprise B. Hosts in Enterprise
A and Enterprise B communicate through the ISP network. Outer VLAN ID 300 and inner VLAN
30 assigned to the ISP network.
Figure 4-4 Networking diagram for configuring flow-based VLAN mapping
Outer: VLAN 300
Inner: VLAN 30
ISP
SwitchC SwitchD
SwitchB
SwitchA
Outer: VLAN 100
Inner: VLAN 10
Enterprise A
GE1/0/1
GE1/0/1
GE1/0/2
GE1/0/2
Outer: VLAN 200
Inner: VLAN 20
Enterprise B
Configuration Roadmap
The configuration roadmap is as follows:
1. Create outer VLANs on SwitchA, SwitchB, SwitchC, and SwitchD.
2. Create traffic classifiers, traffic behaviors, and traffic policies on SwitchA and SwitchB.
3. Add interfaces of SwitchA, SwitchB, SwitchC, and SwitchD to the corresponding VLANs.
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 4 VLAN Mapping Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
183