F
29 VPWS C
IGURE
ONFIGURATION
MPLS L2VPN Configuration
Examples
VPWS Configuration Example
A network of VPWS is shown in
E
XAMPLE
The configuration requirements are as follows:
�
Configure interface addresses on fei_1/2 of PE1, fei_2/1 and
fei_2/2 of P, and fei_3/1 of PE2.
�
Configure loopback addresses for PE1, P and PE2.
�
Run IGP protocol (such as OSPF) on PE1, P and PE2 to imple-
ment interconnection of PE1 and PE2 and to learn the loopback
interface address route of the peer party.
�
Start MPLS on PE1, P and PE2 and specify router-id of mpls
ldp. Start mpls ip on vlan10 of PE1, vlan20 and vlan30 of P,
and vlan40 of PE2.
�
Configure target—session on PE1 and PE2 to establish ldp
neighborhood relationship between PE1 and PE2. If P does
not exist in networking, the configuration is unnecessary.
�
Configure mpls xconnect on interfaces vlan100 and vlan200 on
PE1 and PE2 connecting CE.
The following describes the configurations of each device.
PE1 configuration:
PE1(config)#interface loopback10
PE1(config-if)#ip address
PE1(config)#interface vlan100
PE1(config-if)#mpls xconnect 1.1.1.3 100
PE1(config)#interface vlan10
PE1(config-if)#ip address
PE1(config-if)#mpls ip
PE1(config)#mpls ip
PE1(config)#mpls ldp router-id loopback10 force
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 MPLS L2VPN Configuration
Figure
29.
1.1.1.1 255.255.255.255
175.1.1.1 255.255.255.0
57