#
interface GigabitEthernet1/0/0
port link-type trunk
port trunk allow-pass vlan 40
#
interface GigabitEthernet2/0/0
port link-type trunk
port trunk allow-pass vlan 50
#
interface LoopBack1
ip address 4.4.4.4 255.255.255.255
#
bgp 200
peer 3.3.3.3 as-number 200
peer 3.3.3.3 connect-interface LoopBack1
#
ipv4-family unicast
undo synchronization
peer 3.3.3.3 enable
#
l2vpn-family
policy vpn-target
peer 3.3.3.3 enable
#
ospf 1
area 0.0.0.0
network 40.1.1.0 0.0.0.3
network 4.4.4.4 0.0.0.0
#
mpls l2vpn vpn1 encapsulation vlan
route-distinguisher 200:2
vpn-target 1:1 import-extcommunity
vpn-target 1:1 export-extcommunity
ce ce4 id 4 range 10 default-offset 0
connection ce-offset 3 interface Vlanif50
#
#
return
l Configuration file of CE2
#
sysname CE2
#
vlan batch 50
#
interface Vlanif 50
ip address 10.1.1.2 255.255.255.0
#
interface GigabitEthernet1/0/0
port link-type trunk
port trunk allow-pass vlan 50
#
return
4.11.9 Example for Configuring Martini VLL FRR (Asymmetrically
Connected CEs)
Networking Requirements
As shown in Figure 4-12, CE1 is single-homed to PE1. CE2 is dual-homed to PE2 and PE3.
The networking requirements are as follows:
l A PW is set up between PE1 and PE3. This PW is the master PW, and uses the MPLS TE
tunnel.
4 VLL Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN
4-86 Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2009-08-20)