IP - FC3061 - E01 - 1-ZXR10 M6000-S MPLS L2 VPN VPLS Configuration&Operation-V3.00.10-17p
IP - FC3061 - E01 - 1-ZXR10 M6000-S MPLS L2 VPN VPLS Configuration&Operation-V3.00.10-17p
2
Content
3
VPLS Configuration Step
n Practice Target:
l CE1 and CE2 can communicate with each other by using VPLS
PE2 PE1
CE2 CE1
n Steps:
1. Configure interface address to ensure PE1 can communication with PE2
2. Configure loopback interfaces, as Router-ID of LDP
3. Configure OSPF protocol and advertising loopback interfaces
4.Configure LDP instance,using command target-session if PEs are indirectly
connected
5. Configure l2VPN instance
n PE1 Configuration
PE1(config)# interface fei-0/1/0/1
PE1(config-if-fei-0/1/0/1)# ip address 1.1.1.1 255.255.255.0
PE1(config-if-fei-0/1/0/1)#exit
PE1(config)# interface loopback1
PE1(config-if-loopback1)# ip address 100.100.1.1 255.255.255.255
PE1(config-if-loopback1)# exit
PE1(config)# router ospf 200
PE1(config-ospf-200)#area 0
PE1(config-ospf-200-area 0)# network 1.1.1.0 0.0.0.255
PE1(config-ospf-200-area 0)# network 100.100.1.1 0.0.0.0
PE1(config-ospf-200-area 0)# exit
PE1(config)# mpls ldp instance 100
PE1(config-ldp-100)# router-id loopback1
PE1(config-ldp-100)# interface fei-0/1/0/1
PE1(config-ldp-100-if-fei-0/1/0/1)# exit
PE1(config-ldp-100)# exit
Note:If another PE is not directly connected, remote LDP peer need to be set up,
command is as follow:
PE1(config-ldp)#target-session x.x.x.x //x.x.x.x is remote PE’s loopback
n PE1 Configuration
n PE2 Configuration
n PE2 Configuration
PE2(config)# pw pw4
PE2(config)# mpls l2vpn enable
PE2(config)# vpls vpls_zte2
PE2(config-vpls-vpls_zte2)# pseudo-wire pw4
PE2(config-vpls-vpls_zte2-pw-pw4)# neighbour 100.100.1.1 vcid 40
PE2(config-vpls-vpls_zte2-pw-pw4-neighbour)# signal dynamic
PE2(config-vpls-vpls_zte2-pw-pw4-neighbour)# encapsulation raw
PE2(config-vpls-vpls_zte2-pw-pw4-neighbour)# exit
PE2(config-vpls-vpls_zte2-pw-pw4)# exit
PE2(config-vpls-vpls_zte2)# access-point fei-0/1/0/2
PE2(config-vpls-vpls_zte2-ac-fei-0/1/0/2)# access-params ethernet
PE2(config-vpls-vpls_zte2-ac-fei-0/1/0/2-eth)# exit
PE2(config-vpls-vpls_zte2-ac-fei-0/1/0/2)# exit
PE2(config-vpls-vpls_zte2)# exit
Headers: PWType - Pseudo Wire type and Pseudo Wire connection mode
Llabel - Local label, Rlabel - Remote label
VPNowner - Owner type and instance name
Codes : H - HUB mode, S - SPOKE mode, L - VPLS, W - VPWS, M - MSPW, MO -
MONITOR
$pw - auto_pw
PWName PeerIP FEC PWType State Llabel Rlabel VPNowner
pw4 100.100.1.1 128 Ethernet H UP 81920 81920 L:vpls_zte2
Headers: PWType - Pseudo Wire type and Pseudo Wire connection mode
Llabel - Local label, Rlabel - Remote label
VPNowner - Owner type and instance name
Codes : H - HUB mode, S - SPOKE mode, L - VPLS, W - VPWS, M - MSPW, MO -
MONITOR
$pw - auto_pw
PWName PeerIP FEC PWType State Llabel Rlabel VPNowner
pw4 100.100.1.1 128 Ethernet H UP 81920 81920 L:vpls_zte2