You are on page 1of 25

Configure VPLS on NE

Series Routers

www.huawei.com

Copyright © 2011 Huawei Technologies Co., Ltd. All rights reserved.


Foreword
Ethernet technologies are widely used in enterprise
networks, and operator networks, especially MANs. Due
to high bandwidth and low cost, Ethernet is competitive.
Ethernet MAN provides point-to-point services. MPLS
development popularizes MPLS-based L2VPN
applications. To ensure that Ethernet-like multi-point
services are provided on MAN/WAN, Virtual Private LAN
Service (VPLS) emerges.

Copyright © 2011 Huawei Technologies Co., Ltd. All rights reserved. Page1
Objectives
Upon completion of this course, you will be able to:
Master the VPLS implementation principle.

Configure VPLS on a network that consists of NE routers.

Copyright © 2011 Huawei Technologies Co., Ltd. All rights reserved. Page2
Contents
1. VPLS Overview

2. VPLS Implementation

3. VPLS Feature Configuration on NE Routers

Copyright © 2011 Huawei Technologies Co., Ltd. All rights reserved. Page3
Contents
1. VPLS Overview

2. VPLS Implementation

3. VPLS Feature Configuration on NE Routers

Copyright © 2011 Huawei Technologies Co., Ltd. All rights reserved. Page4
What is VPLS?
VPLS is an L2 VPN technology based on MPLS and
Ethernet technologies. VPLS can implement multi-point-
to-multi-point VPN networking.
Emulated Service

Pseudo-wire A branch 1
CE
Attachment Virtual Attachment
Circuit Switch Circuit
PE
InstanceA
Virtual B headquarters
CE Switch Virtual
InstanceA Switch
PE
InstanceB
CE

MPLS LSP
A headquarters IP/MPLS A branch 2
Virtual CE
Switch Virtual
InstanceB Switch
InstanceA
PE
CE
B branch 1 Virtual B branch 2
Switch CE
InstanceB
VPLS User Packet Forwarding
PE 1 generates two MPLS labels according to the forwarding table
- Private network label is used to identify the PW
- Public network label is used to pass through the tunnel to reach PE 2.

VPN1 VPN1 VPN2


Site3 Site2 Site2

CE5 CE3 CE4


L2PDU
L2PDU
T V L2PDU L2PDU
PE3

T V L2PDU PE2
MPLS Network

T V L2PDU
PE1
L2PDU
L2PDU
CE1
CE2
AC
VPN1 VPN2 PW
Site1 Site1
PW Signal
Tunnel
Contents
1. VPLS Overview

2. VPLS Implementation

3. VPLS Feature Configuration on NE Routers

Copyright © 2011 Huawei Technologies Co., Ltd. All rights reserved. Page7
VPLS Martini Mode Implementation

LDP is used as signaling, and the peers of the PE need


to be manually specified.
The PEs in a same VPLS need to establish full
connection.
When a new PE is added, configuration need to be
modified on all relevant Pes.

Copyright © 2011 Huawei Technologies Co., Ltd. All rights reserved. Page8
What is Martini VPLS?
VPLS of Martini mode indicates establishing a point-to-multi-
point MPLS L2 VPN of a PW by using an inner label distributed
by the extended LDP.
VPNA VPNA
Site A LDP PW Signaling
Site B

CE PEA PEB CE

LSP
Site A Site B
PW Full Mesh

MPLS
CE CE

VPNB LDP PW Signaling VPNB


LDP PW Signaling PEC
Site C Site C

CE CE

VPNA VPNB
Martini VPLS Signaling Transfer (1/3)
VPLS user packets are forwarded through tunnels, and need to be
encapsulated with two labels

[PEA]mpls ldp remote-peer PEB


[PEA-mpls-ldp-remote-PEB]remote-ip 3.3.3.3
//Establish a remote LDP session with the remote PE.
[PEA]vsi huawei static
[PEA-vsi-huawei]pwsignal ldp
[PEA-vsi-huawei-ldp]vsi-id 200
[PEA-vsi-huawei-ldp]peer 3.3.3.3
//Create a user VSI huawei. Use the LDP signaling, specify the PE
neighbor as 3.3.3.3, and set VSI-ID to 200.
[PEA-Ethernet0/0/0.200] vlan-type dot1q 200
[PEA-Ethernet0/0/0.200] l2 binding vsi huawei
//Bind the VSI with an interface.

Copyright © 2011 Huawei Technologies Co., Ltd. All rights reserved. Page10
Martini VPLS Signaling Transfer(2/3)

[PEB]mpls ldp remote-peer PEA


[PEB-mpls-ldp-remote-PEA]remote-ip 2.2.2.2
//Establish a remote LDP session with the remote PE.
[PEB]vsi huawei static
[PEB-vsi-huawei]pwsignal ldp
[PEB-vsi-huawei-ldp]vsi-id 200
[PEB-vsi-huawei-ldp]peer 2.2.2.2
//Create a user VSI huawei. Use the LDP signaling, specify the PE
neighbor as 2.2.2.2, and set VSI-ID to 200.
[PEB-Ethernet0/0/0.200] vlan-type dot1q 200
[PEB-Ethernet0/0/0.200] l2 binding vsi huawei
//Bind the VSI with an interface.

Copyright © 2011 Huawei Technologies Co., Ltd. All rights reserved. Page11
Martini VPLS Signaling Transfer(3/3)
PEA and PEB establish mapping relationships for the configured VSIs.
AC interface – VSI ID+VC Type – local VC Label/remote VC label – PE Peer
2
MPLS LDP Remote session

MPLS Domain
CEA PEA CEB
LSP P PEB
W
3 1 3
5 6 5 6
[PEA]display vsi name huawei verbose Label Mapping Message [PEB]display vsi name huawei
4 PEA local VC label verbose
***VSI Name : huawei
PW Signaling : ldp ***VSI Name : huawei
Label Mapping Message
Member Discovery Style : static PW Signaling : ldp
Encapsulation Type : vlan PEB local VC label
Member Discovery Style : static
MTU : 1500 Encapsulation Type : vlan
VSI State : up MTU : 1500
VSI ID : 200 VSI State : up
VSI ID : 200
Interface Name :
Ethernet0/0/0.200 Interface Name :
State : up Ethernet0/0/0.200
State : up
*Peer Ip Address : 3.3.3.3
PW State : up *Peer Ip Address : 2.2.2.2
Local VC Label : 19456 PW State : up
Remote VC Label : 19457 Local VC Label : 19457
Remote VC Label : 19456
Contents
1. VPLS Overview

2. VPLS Implementation

3. VPLS Feature Configuration on NE Routers

Copyright © 2011 Huawei Technologies Co., Ltd. All rights reserved. Page13
Configuration Example -Topology
Description
VPNA CE3

E0/0/0

E0/0/0

LO: 1.1.1.1/32 PE1


.1
E0/0/2 .1 E0/0/3
12.1.1.0/30 VPLS 13.1.1.0/30
MPLS Domain
PE2 E0/0/2 OSPF Area 0 .2
.2 E0/0/1 PE3 LO: 3.3.3.3/32
LO: 2.2.2.2/32
E0/0/1 E0/0/2
.1 23.1.1.0/30 .2 E0/0/0
E0/0/0

E0/0/0 E0/0/0

VPNA CE1 VPNA CE2


Configure Martini VPLS –PE Configuration (1/2)
VPNA CE3

E0/0/0

E0/0/0

LO: 1.1.1.1/32 PE1


.1
E0/0/2 .1 E0/0/3
12.1.1.0/30 VPLS 13.1.1.0/30
[PE1]mpls lsr-id 1.1.1.1 MPLS Domain
PE2 E0/0/2
[PE1]mpls OSPF Area 0basic MPLS
//Enable .2 function.
LO:ldp
2.2.2.2/32 .2 E0/0/1 PE3function.
[PE1]mpls //Enable basic MPLS LDP LO: 3.3.3.3/32
E0/0/1 E0/0/2
[PE1]interface Ethernet0/0/2
.1 23.1.1.0/30 .2 E0/0/0
[PE1-Ethernet0/0/2]mpls
E0/0/0 //Enable basic MPLS function on the
interface
[PE1-Ethernet0/0/2]mpls
E0/0/0 ldp //Enable basic MPLS E0/0/0
LDP function
on the interface
[PE1]interface Ethernet0/0/3
VPNA CE1
[PE1-Ethernet0/0/3]mpls VPNA CE2
[PE1-Ethernet0/0/3]mpls ldp
Configure Martini VPLS –PE Configuration (2/2)
VPNA CE3

E0/0/0

Configure the same


E0/0/0 configuration of
PE1 on PE2 and
LO: 1.1.1.1/32 PE1
E0/0/2 .1
.1 PE3
E0/0/3

[PE1]mpls l2vpn 12.1.1.0/30 VPLS 13.1.1.0/30


//Enable the MPLS L2 VPN
capability on PE device E0/0/2 MPLS Domain
[PE1]vsi huaweiPE2 static
.2
OSPF Area//Create
0
E0/0/1
.2
VSI
LO: 2.2.2.2/32
[PE1-vsi-huawei]pwsignal ldp PE3 LO: 3.3.3.3/32
E0/0/1 E0/0/2
[PE1-vsi-huawei-ldp]vsi-id .1
100 .2
23.1.1.0/30 E0/0/0
[PE1-vsi-huawei-ldp]peer
E0/0/0 2.2.2.2
[PE1-vsi-huawei-ldp]peer 3.3.3.3
[PE1]interfaceE0/0/0 Ethernet0/0/0.1 //Configure the AC interface
E0/0/0
on PE device
[PE1-Ethernet0/0/0.1]vlan-type dot1q 100
VPNA CE1
[PE1-Ethernet0/0/0.1]l2 binding vsi huawei VPNA CE2
//Bind the AC interface on PE device with VSI
Configure Martini VPLS- CE Configuration
VPNA CE3

E0/0/0

[CE3]interface Ethernet0/0/0.1
[CE3-Ethernet0/0/0.1]vlan-type E0/0/0
dot1q 100
[CE3-Ethernet0/0/0.1]ip address 192.168.1.3 24
LO: 1.1.1.1/32PE1
.1
E0/0/2 .1 E0/0/3
[CE2]interface Ethernet0/0/0.1
12.1.1.0/30
[CE2-Ethernet0/0/0.1]vlan-type 13.1.1.0/30
VPLSdot1q 100
[CE2-Ethernet0/0/0.1]ip address 192.168.1.2 24
MPLS Domain
E0/0/2 .2
LO: 2.2.2.2/32 .2 OSPF Area 0E0/0/1
PE3 LO: 3.3.3.3/32
[CE1]interface Ethernet0/0/0.1
E0/0/1
[CE1-Ethernet0/0/0.1]vlan-type dot1qE0/0/2
100
.1 .2
[CE1-Ethernet0/0/0.1]ip
E0/0/0 address 192.168.1.1
23.1.1.0/30 24E0/0/0
PE2
E0/0/0 E0/0/0

VPNA CE1 VPNA CE2


Configure Martini VPLS – Checking VSI Instance
Information (1/4)
View the VSI instance information:
[PE1]display vsi name huawei verbose
***VSI Name : huawei
Administrator VSI : no
Isolate Spoken : disable
VSI Index : 0
PW Signaling : ldp
Member Discovery Style : static
PW MAC Learn Style : unqualify
Encapsulation Type : vlan
MTU : 1500
Diffserv Mode : uniform
Service Class : --
Color : --
DomainId : 255
Domain Name :
Ignore AcState : disable
Create Time : 0 days, 3 hours, 8 minutes, 40 seconds
VSI State : up
… … …

Copyright © 2011 Huawei Technologies Co., Ltd. All rights reserved. Page18
Configure Martini VPLS – Checking VSI Instance
Information (2/4)
VSI ID : 100
*Peer Router ID : 2.2.2.2
VC Label : 19456
Peer Type : dynamic
Session : up
Tunnel ID : 0x1004
Broadcast Tunnel ID : 0x1004
CKey : 4
NKey : 3
StpEnable : 0
PwIndex : 0
*Peer Router ID : 3.3.3.3
VC Label : 19457
Peer Type : dynamic
Session : up
Tunnel ID : 0x1005
Broadcast Tunnel ID : 0x1005
CKey : 6
NKey : 5
StpEnable : 0
PwIndex : 0
… … …

Copyright © 2011 Huawei Technologies Co., Ltd. All rights reserved. Page19
Configure Martini VPLS – Checking VSI Instance
Information (3/4)
… … …
Interface Name : Ethernet0/0/0.1
State : up
Last Up Time : 2011/06/21 11:57:58
Total Up Time : 0 days, 3 hours, 4 minutes, 24 seconds

**PW Information:

*Peer Ip Address : 2.2.2.2


PW State : up
Local VC Label : 19456
Remote VC Label : 19457
PW Type : label
Tunnel ID : 0x1004
Broadcast Tunnel ID : 0x1004
Ckey : 0x4
Nkey : 0x3
Main PW Token : 0x1004
Slave PW Token : 0x0
Tnl Type : LSP
… … …

Copyright © 2011 Huawei Technologies Co., Ltd. All rights reserved. Page20
Configure Martini VPLS – Checking VSI Instance
Information (4/4)
… … …
Tnl Type : LSP
OutInterface : Ethernet0/0/2
Stp Enable : 0
Mac Flapping : 0
PW Last Up Time : 2011/06/21 12:07:57
PW Total Up Time : 0 days, 2 hours, 54 minutes, 25 seconds
*Peer Ip Address : 3.3.3.3
PW State : up
Local VC Label : 19457
Remote VC Label : 19457
PW Type : label
Tunnel ID : 0x1005
Broadcast Tunnel ID : 0x1005
Ckey : 0x6
Nkey : 0x5
Main PW Token : 0x1005
Slave PW Token : 0x0
Tnl Type : LSP
OutInterface : Ethernet0/0/3
Stp Enable : 0
Mac Flapping : 0
PW Last Up Time : 2011/06/21 12:08:20
PW Total Up Time : 0 days, 2 hours, 54 minutes, 2 seconds
Configure Martini VPLS – Check the
Connectivity between CEs (1/2)
Check the connectivity between CEs:
[CE1]ping 192.168.1.2
PING 192.168.1.2: 56 data bytes, press CTRL_C to break
Reply from 192.168.1.2: bytes=56 Sequence=1 ttl=255 time=100 ms
Reply from 192.168.1.2: bytes=56 Sequence=2 ttl=255 time=80 ms
Reply from 192.168.1.2: bytes=56 Sequence=3 ttl=255 time=80 ms
Reply from 192.168.1.2: bytes=56 Sequence=4 ttl=255 time=80 ms
Reply from 192.168.1.2: bytes=56 Sequence=5 ttl=255 time=90 ms

--- 192.168.1.2 ping statistics ---


5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 80/86/100 ms

Copyright © 2011 Huawei Technologies Co., Ltd. All rights reserved. Page22
Configure Martini VPLS – Check the
Connectivity between CEs (2/2)
[CE1]ping 192.168.1.3
PING 192.168.1.3: 56 data bytes, press CTRL_C to break
Reply from 192.168.1.3: bytes=56 Sequence=1 ttl=255 time=90 ms
Reply from 192.168.1.3: bytes=56 Sequence=2 ttl=255 time=60 ms
Reply from 192.168.1.3: bytes=56 Sequence=3 ttl=255 time=70 ms
Reply from 192.168.1.3: bytes=56 Sequence=4 ttl=255 time=60 ms
Reply from 192.168.1.3: bytes=56 Sequence=5 ttl=255 time=80 ms

--- 192.168.1.3 ping statistics ---


5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 60/72/90 ms

.
Thank you
www.huawei.com

You might also like