pw-template 2to1
peer-address 1.1.1.1
control-word
vccv cc cw cv lsp-ping bfd
#
mpls ldp
#
interface Vlanif40
ip address 100.12.1.2 255.255.255.252
mpls
mpls ldp
#
interface Vlanif50
mpls l2vc pw-template 2to1 200
#
interface GigabitEthernet1/0/0
port link-type trunk
port trunk allow-pass vlan 50
#
interface GigabitEthernet2/0/1
port link-type trunk
port trunk allow-pass vlan 40
#
interface LoopBack1
ip address 2.2.2.2 255.255.255.255
#
ospf 1
area 0.0.0.0
network 2.2.2.2 0.0.0.0
network 100.12.1.0 0.0.0.3
#
return
5.11.6 Example for Configuring Inter-AS PWE3-Option A
Networking Requirements
As shown in Figure 5-16, the Option A scheme is used to establish the inter-AS PWE3.
Figure 5-16 Networking diagram for configuring inter-AS PWE3-Option A
GE1/0/0
GE1/0/0
Loopback0
1.1.1.9/32
Loopback0
2.2.2.9/32
Loopback0
3.3.3.9/32
Loopback0
4.4.4.9/32
GE2/0/0
GE1/0/0
GE2/0/0
GE1/0/0
GE2/0/0
GE1/0/0
GE1/0/0
GE2/0/0
CE1
CE2
PE1
PE2ASBR-PE1
ASBR-PE2
MPLS backbone
AS100
MPLS backbone
AS200
S9300
Interface VLANIF interface IP address
5 PWE3 Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN
5-92 Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2009-08-20)