Professional Documents
Culture Documents
Series Routers
www.huawei.com
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.
Copyright © 2011 Huawei Technologies Co., Ltd. All rights reserved. Page2
Contents
1. VPLS Overview
2. VPLS Implementation
Copyright © 2011 Huawei Technologies Co., Ltd. All rights reserved. Page3
Contents
1. VPLS Overview
2. VPLS Implementation
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.
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
Copyright © 2011 Huawei Technologies Co., Ltd. All rights reserved. Page7
VPLS Martini Mode Implementation
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
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
Copyright © 2011 Huawei Technologies Co., Ltd. All rights reserved. Page10
Martini VPLS Signaling Transfer(2/3)
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
Copyright © 2011 Huawei Technologies Co., Ltd. All rights reserved. Page13
Configuration Example -Topology
Description
VPNA CE3
E0/0/0
E0/0/0
E0/0/0 E0/0/0
E0/0/0
E0/0/0
E0/0/0
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
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:
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
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
.
Thank you
www.huawei.com