#
interface Vlanif4
 ip address 20.1.1.1 255.255.255.0
#
interface Vlanif10
 ip address 10.1.1.1 255.255.255.0
#
interface GigabitEthernet1/0/2
 port link-type trunk
 port trunk allow-pass vlan 10
#
interface GigabitEthernet1/0/3
 port link-type trunk
 port trunk allow-pass vlan 4
#
return
l Configuration file of CE2
#
 sysname CE2
#
 vlan batch 2
#
interface Vlanif2
 ip address 10.1.1.2 255.255.255.0
#
interface GigabitEthernet1/0/1
 port link-type trunk
 port trunk allow-pass vlan 2
#
return
l Configuration file of CE3
#
 sysname CE3
#
 vlan batch 3
#
interface Vlanif2
 ip address 20.1.1.2 255.255.255.0
#
interface GigabitEthernet1/0/1
 port link-type trunk
 port trunk allow-pass vlan 3
#
return
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN 1 VPN Tunnel Management Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
56