100% found this document useful (1 vote)
293 views17 pages

IP - FC3061 - E01 - 1-ZXR10 M6000-S MPLS L2 VPN VPLS Configuration&Operation-V3.00.10-17p

The document discusses configuring and maintaining VPLS on ZXR10 M6000-S routers. It covers creating a VPLS instance, configuring pseudowires between provider edge routers, and shows an example configuration to establish connectivity between two customer edge devices over a VPLS network.

Uploaded by

Abdurezak Birhan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
293 views17 pages

IP - FC3061 - E01 - 1-ZXR10 M6000-S MPLS L2 VPN VPLS Configuration&Operation-V3.00.10-17p

The document discusses configuring and maintaining VPLS on ZXR10 M6000-S routers. It covers creating a VPLS instance, configuring pseudowires between provider edge routers, and shows an example configuration to establish connectivity between two customer edge devices over a VPLS network.

Uploaded by

Abdurezak Birhan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

ZXR10 M6000-S MPLS L2 VPN

VPLS Configuration &


Operation-V3.00.10
Objective

n Be familiar with VPLS configuration and


maintenance

2
Content

n VPLS Configuration and Maintenance

3
VPLS Configuration Step

n ZXR10 M6000-S VPLS Configuration Steps:


l Create VPLS instance, and configure parameters such as vcid、pwtype、peer,
etc
l Configure IGP on PE、P, enable communication between PEs, and can have
the route to the loopback addresses of each other.
l PE、P enable mpls ldp in global configuration mode,and assign router-id
for mpls ldp instance,and enable mpls ldp function on interfaces between
PE、P.
l Configure target-session on PEs, to active LDP relationship between PEs. (If
PEs are directly connected, without P in-between, then no need to configure
this step)。
l Configure interface to CE in VPLS instance.

© ZTE All rights reserved 4


VPLS Basic Configuration

n Enable L2VPN function,and create L2VPN VPLS instance


l ZXR10(config)# mpls l2vpn enable
l ZXR10(config)# vpls <name> {multi-mac-spaces }

n Binding VPLS instance with AC interface


l ZXR10(config-vpls)#access-point < ac-interface>
l ZXR10(config-vpls-ac)#access-params ethernet // AC type is ethenet

n Create PW ( Pseudo Wire )


l ZXR10(config)#pw pw1

© ZTE All rights reserved 5


VPLS Basic Configuration

n Binding Pseudo Wire with VPLS instance


l ZXR10(config-vpls)#pseudo-wire< pw-name>
l ZXR10(config-vpls-pw-name)#neighbour < A.B.C.D> vcid <vcid value> //*
Configure PW and vcid

n VPLS function is based on LDP,if building PW between


indirectly connected PEs,LDP neighbor must be set up firstly by
TARGET HELLO method,then PW label will be distributed.
l ZXR10(config-ldp)# target-session A.B.C.D

© ZTE All rights reserved 6


VPLS Configuration Example

n Practice Target:
l CE1 and CE2 can communicate with each other by using VPLS

Fei-0/1/0/2 Fei-0/1/0/1 Fei-0/1/0/1 Fei-0/1/0/2

PE2 PE1

CE2 CE1

© ZTE All rights reserved 7


VPLS Configuration Example

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

© ZTE All rights reserved 8


VPLS Configuration Example

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

© ZTE All rights reserved 9


VPLS Configuration Example

n PE1 Configuration

PE1(config)# pw pw4 // Create Pseudo-wire


PE1(config)# mpls l2vpn enable // enable L2VPN
PE1(config)# vpls vpls_zte2 // create VPLS instance
PE1(config-vpls-vpls_zte2)pseudo-wire pw4 // binding PW with VPLS instance
PE1(config-vpls-vpls_zte2-pw-pw4)# neighbour 100.100.1.2 vcid 40 // defining PE2 as the other end of
PW, 40 as vcid
PE1(config-vpls-vpls_zte2-pw-pw4-neighbour)# signal dynamic // PW type as dynamic,creating PW by
using LDP
PE1(config-vpls-vpls_zte2-pw-pw4-neighbour)# encapsulation raw // defining encapsulation type, both
ends of pw should be the same
PE1(config-vpls-vpls_zte2-pw-pw4-neighbour)# exit
PE1(config-vpls-vpls_zte2-pw-pw4)# exit
PE1(config-vpls-vpls_zte2)# access-point fei-0/1/0/2 // defining AC interface
PE1(config-vpls-vpls_zte2-ac-fei-0/1/0/2)# access-params ethernet // defining AC interface as
ethernet
PE1(config-vpls-vpls_zte2-ac-fei-0/1/0/2-eth)# exit
PE1(config-vpls-vpls_zte2-ac-fei-0/1/0/2)# exit
PE1(config-vpls-vpls_zte2)# exit

© ZTE All rights reserved 10


VPLS Configuration Example

n PE2 Configuration

PE2(config)# interface fei-0/1/0/1


PE2(config-if-fei-0/1/0/1)# ip address 1.1.1.2 255.255.255.0
PE2(config-if-fei-0/1/0/1)# exit
PE2(config)# interface loopback1
PE2(config-if-loopback1)# ip address 100.100.1.2 255.255.255.255
PE2(config-if-loopback1)# exit
PE2(config)# router ospf 200
PE2(config-ospf-200)#area 0
PE2(config-ospf-200-area 0)# network 100.100.1.2 0.0.0.0
PE2(config-ospf-200-area 0)# network 1.1.1.0 0.0.0.255
PE2(config-ospf-200-area 0)# exit
PE2(config)# mpls ldp instance 100
PE2(config-ldp-100)# router-id loopback1
PE2(config-ldp-100)# interface fei-0/1/0/1
PE2(config-ldp-100-if-fei-0/1/0/1)# exit
PE2(config-ldp-100)# exit

© ZTE All rights reserved 11


VPLS Configuration Example

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

© ZTE All rights reserved 12


VPLS Configuration Example

n Show PE1 Configuration

PE2(config)#show l2vpn forwardinfo detail


Service type and instance name:[VPLS vpls_zte2]
Peer IP address : 100.100.1.1 VCID : 40
Connection mode : HUB VCID Extend : 0
Signaling protocol : LDP VC type : Ethernet
Last status change time : 00:00:57 Create time : 00:00:57
MPLS VC local label : 81920 Remote label : 81920
PW name : pw4 Control Word : -
Related PW name :- PW FRR type : NULL
Activation status : ENABLE Band Width : 0
VC status : UP
Remote status : ALLOK
VCCV CC type : ALERT_LABEL
VCCV CV type : LSP
Tunnel label :{3}
Output interface : fei-0/1/0/1
Imposed label stack : { 81920 3 }

© ZTE All rights reserved 13


VPLS Configuration Example

n Show PE1 inner label


PE2(config)# show l2vpn forwardinfo

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

n Show PE1 outer label


ZXR10#show mpls forwarding-table

Local Outgoing Prefix or Outgoing Next Hop M/S


label label Lspname interface
16384 Poptag 100.100.1.2/32 fei-0/1/0/1 1.1.1.2 M

© ZTE All rights reserved 14


VPLS Maintenance

n Show PE2 Configuration

PE2(config)#show l2vpn forwardinfo detail


Service type and instance name:[VPLS vpls_zte2]
Peer IP address : 100.100.1.1 VCID : 40
Connection mode : HUB VCID Extend : 0
Signaling protocol : LDP VC type : Ethernet
Last status change time : 00:00:57 Create time : 00:00:57
MPLS VC local label : 81920 Remote label : 81920
PW name : pw4 Control Word : -
Related PW name :- PW FRR type : NULL
Activation status : ENABLE Band Width : 0
VC status : UP
Remote status : ALLOK
VCCV CC type : ALERT_LABEL
VCCV CV type : LSP
Tunnel label :{3}
Output interface : fei-0/1/0/1
Imposed label stack : { 81920 3 }

© ZTE All rights reserved 15


VPLS Maintenance

n Show PE2 inner label


PE2(config)# show l2vpn forwardinfo

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

n Show PE2 outer label


PE2(config)#show mpls forwarding-table

Local Outgoing Prefix or Outgoing Next Hop M/S


label label Lspname interface
16384 Poptag 100.100.1.1/32 fei-0/1/0/1 1.1.1.1 M

© ZTE All rights reserved 16


Thank you

You might also like