cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

How to configure VPLS L2VPN Pseudo Wire with MPLS

How to configure VPLS L2VPN Pseudo Wire with MPLS

Matt_Tinonga
New Contributor II
Hello, I'm needing some help setting up a layer 2 vpn between two X460-24t across a wan. I have all the necessary licensing and feature packs installed. The wan used static routing and is 3 hops away, also the routers in between do not participate in the MPLS. I've started setting up the MPLS and VPLS here's where I'm at...What am I doing wrong?

Switch #1 name ldc-xm0-nsw012
ldc-xm0-nsw012.19 # sh vlan
-----------------------------------------------------------------------------------------------
Name VID Protocol Addr Flags Proto Ports Virtual
Active router
/Total
-----------------------------------------------------------------------------------------------
Default 1 ------------------------------------------------- ANY 0 /0 VR-Default
ent_sp0-int001 3151 209.249.151.250/24 ---------------------V------- ANY 1 /2 VR-Default
lpbk 4094 192.168.0.1 /32 -fL------------------l------- ANY 0 /0 VR-Default
Mgmt 4095 10.55.211.20 /24 ----------------------------- ANY 1 /1 VR-Mgmt
snj_si0-bkd022 3155 172.31.55.2 /24 -f-------------------l------- ANY 2 /2 VR-Default
-----------------------------------------------------------------------------------------------

ldc-xm0-nsw012.19 # sh ipr
Ori Destination Gateway Mtr Flags VLAN Duration
#s 172.31.22.0/24 172.31.55.251 1 UG---S-um--f- snj_si0-bkd022 4d:21h:25m:29s
#d 172.31.55.0/24 172.31.55.2 1 U------um--f- snj_si0-bkd022 4d:21h:26m:52s
#d 192.168.0.1/32 192.168.0.1 1 U------um--f- lpbk 4d:20h:11m:46s
#d 209.249.151.0/24 209.249.151.250 1 U------um--f- ent_sp0-int001 4d:21h:48m:51s

ldc-xm0-nsw012.20 # sh conf mpls
#
# Module mpls configuration.
#
configure mpls add vlan "lpbk"
enable mpls vlan "lpbk"
enable mpls ldp vlan "lpbk"
configure mpls add vlan "snj_si0-bkd022"
enable mpls vlan "snj_si0-bkd022"
enable mpls ldp vlan "snj_si0-bkd022"
configure mpls lsr-id 172.31.55.2
enable mpls protocol ldp
enable mpls
create l2vpn vpls ldc-snj-vpn fec-id-type pseudo-wire 25
configure l2vpn vpls ldc-snj-vpn add service vlan ent_sp0-int001
configure l2vpn vpls ldc-snj-vpn add peer 172.31.22.2 core full-mesh

ldc-xm0-nsw012.21 # sh vpls detail
L2VPN Name: ldc-snj-vpn
VPN ID : 25 Admin State : Enabled
Source Address : 172.31.55.2 Oper State : Enabled
VCCV Status : Disabled MTU : 1500
VCCV Interval Time : 5 sec. Ethertype : 0x8100
VCCV Fault Multiplier : 4 .1q tag : exclude
L2VPN Type : VPLS Redundancy : None
Service Interface : ent_sp0-int001
Created By : CLI

Peer IP: 172.31.22.2
PW State : Signaling (No transport LSP)
PW Index : 10002
PW Signaling : LDP
PW Uptime : 0d:0h:0m:0s
PW Installed : False
Local PW Status : Not Signaled
Remote PW Status : Not Signaled
Remote I/F MTU : 1500
PW Mode : Core-to-Core
PW Rx Label : 0x00434 PW Tx Label : 0x00434
PW Rx Pkts : -- PW Tx Pkts : 0
PW Rx Bytes : -- PW Tx Bytes : 0
MAC Limit : No Limit
VCCV HC Status : Not Sending (VCCV Not Enabled For This L2VPN)
CC Type : Rtr Alert Total Pkts Sent : 0
CV Type : LSP Ping Total Pkts Rcvd : 0
Send Next Pkt : --
Total Failures : 0 Pkts During Last Failure : 0
Last Failure Tm : --

----------------------------------------

Total number of configured L2VPNs: 1
Total number of active L2VPNs: 0

Total number of configured PWs: 1
Total number of active PWs: 0
Total number of ready PWs: 0
PWs auto-selecting transport LSP: 0
PWs configured with a transport LSP: 0
PWs using LDP for transport: 0
PWs using RSVP for transport: 0
PWs using static for transport: 0

ldc-xm0-nsw012.22 # traceroute 172.31.22.2
traceroute to 172.31.22.2, 30 hops max
1 172.31.55.251 2 ms 1 ms 1 ms
2 172.31.254.13 42 ms 41 ms 41 ms
3 172.31.22.2 41 ms 42 ms 41 ms
===============================================================================================

Switch #2 name snj-xm0-nsw010
snj-xm0-nsw010.11 # sh vlan
-----------------------------------------------------------------------------------------------
Name VID Protocol Addr Flags Proto Ports Virtual
Active router
/Total
-----------------------------------------------------------------------------------------------
Default 1 ------------------------------------------------- ANY 0 /0 VR-Default
ent_sp0-int001 3151 209.249.151.251/24 ---------------------V------- ANY 1 /2 VR-Default
lpbk 4094 192.168.0.1 /32 -fL------------------l------- ANY 0 /0 VR-Default
Mgmt 4095 10.22.211.30 /24 ----------------------------- ANY 1 /1 VR-Mgmt
snj_si0-bkd022 3155 172.31.22.2 /24 -f-------------------l------- ANY 2 /2 VR-Default
-----------------------------------------------------------------------------------------------

snj-xm0-nsw010.12 # sh ipr
Ori Destination Gateway Mtr Flags VLAN Duration
#d 172.31.22.0/24 172.31.22.2 1 U------um--f- snj_si0-bkd022 4d:21h:22m:22s
#s 172.31.55.0/24 172.31.22.251 1 UG---S-um--f- snj_si0-bkd022 4d:21h:21m:17s
#d 192.168.0.1/32 192.168.0.1 1 U------um--f- lpbk 4d:20h:16m:7s
#d 209.249.151.0/24 209.249.151.251 1 U------um--f- ent_sp0-int001 4d:22h:38m:46s

snj-xm0-nsw010.13 # sh conf mpls
#
# Module mpls configuration.
#
configure mpls add vlan "lpbk"
enable mpls vlan "lpbk"
enable mpls ldp vlan "lpbk"
configure mpls add vlan "snj_si0-bkd022"
enable mpls vlan "snj_si0-bkd022"
enable mpls ldp vlan "snj_si0-bkd022"
configure mpls lsr-id 172.31.22.2
enable mpls protocol ldp
enable mpls
create l2vpn vpls ldc-snj-vpn fec-id-type pseudo-wire 25
configure l2vpn vpls ldc-snj-vpn add service vlan ent_sp0-int001
configure l2vpn vpls ldc-snj-vpn add peer 172.31.55.2 core full-mesh

snj-xm0-nsw010.14 # sh vpls detail
L2VPN Name: ldc-snj-vpn
VPN ID : 25 Admin State : Enabled
Source Address : 172.31.22.2 Oper State : Enabled
VCCV Status : Disabled MTU : 1500
VCCV Interval Time : 5 sec. Ethertype : 0x8100
VCCV Fault Multiplier : 4 .1q tag : exclude
L2VPN Type : VPLS Redundancy : None
Service Interface : ent_sp0-int001
Created By : CLI

Peer IP: 172.31.55.2
PW State : Signaling (No transport LSP)
PW Index : 10002
PW Signaling : LDP
PW Uptime : 0d:0h:0m:0s
PW Installed : False
Local PW Status : Not Signaled
Remote PW Status : Not Signaled
Remote I/F MTU : 1500
PW Mode : Core-to-Core
PW Rx Label : 0x00434 PW Tx Label : 0x00434
PW Rx Pkts : -- PW Tx Pkts : 0
PW Rx Bytes : -- PW Tx Bytes : 0
MAC Limit : No Limit
VCCV HC Status : Not Sending (VCCV Not Enabled For This L2VPN)
CC Type : Rtr Alert Total Pkts Sent : 0
CV Type : LSP Ping Total Pkts Rcvd : 0
Send Next Pkt : --
Total Failures : 0 Pkts During Last Failure : 0
Last Failure Tm : --

----------------------------------------

Total number of configured L2VPNs: 1
Total number of active L2VPNs: 0

Total number of configured PWs: 1
Total number of active PWs: 0
Total number of ready PWs: 0
PWs auto-selecting transport LSP: 0
PWs configured with a transport LSP: 0
PWs using LDP for transport: 0
PWs using RSVP for transport: 0
PWs using static for transport: 0

snj-xm0-nsw010.15 # traceroute 172.31.55.2
traceroute to 172.31.55.2, 30 hops max
1 172.31.22.251 2 ms 1 ms 6 ms
2 172.31.254.45 42 ms 42 ms 42 ms
3 172.31.55.2 42 ms 42 ms 41 ms

20 REPLIES 20

Prashanth_KG
Extreme Employee
Hi Matt,

The LSR ID of the MPLS routers should be a routed loopback address(/32 and loopback enabled). In your case, the LSR ID should be of the VLAN which is lpbk since it has a /32 address.

Following are the changes that is required.

Switch #1 name ldc-xm0-nsw012

#
# Module mpls configuration.
#
configure mpls add vlan "lpbk"
enable mpls vlan "lpbk"
enable mpls ldp vlan "lpbk"
configure mpls add vlan "snj_si0-bkd022"
enable mpls vlan "snj_si0-bkd022"
enable mpls ldp vlan "snj_si0-bkd022"
configure mpls lsr-id 192.168.0.1
enable mpls protocol ldp
enable mpls
create l2vpn vpls ldc-snj-vpn fec-id-type pseudo-wire 25
configure l2vpn vpls ldc-snj-vpn add service vlan ent_sp0-int001
configure l2vpn vpls ldc-snj-vpn add peer 192.168.0.2 core full-mesh

Switch #2 name snj-xm0-nsw010
You will need to change the lpbk VLAN address to a different IP say 192.168.0.2.

#
configure mpls add vlan "lpbk"
enable mpls vlan "lpbk"
enable mpls ldp vlan "lpbk"
configure mpls add vlan "snj_si0-bkd022"
enable mpls vlan "snj_si0-bkd022"
enable mpls ldp vlan "snj_si0-bkd022"
configure mpls lsr-id 192.168.0.2
enable mpls protocol ldp
enable mpls
create l2vpn vpls ldc-snj-vpn fec-id-type pseudo-wire 25
configure l2vpn vpls ldc-snj-vpn add service vlan ent_sp0-int001
configure l2vpn vpls ldc-snj-vpn add peer 192.168.0.1 core full-mesh

Please make this change and let us know if it helps!

Stephane_Grosj1
Extreme Employee
Are you saying there's no MPLS on the routers in-between your routers?

Sorry for not following closely this thread (vacations...). The Targeted LDP adjacency can come Up across an IP backbone, no problem, but the transport is impossible without MPLS LSP in the backbone. I'm afraid you're trying to do something not possible.

The end points will be MPLS routes but the in between routes will not. It was my understanding that the in between router would pass the MPLS traffic. If you read below you will see the LDP peers are operational. But vpls l2vpn shows in a signeling state and does not coma active. Thanks for any HELP!

So you're sending an MPLS frame to non-MPLS capable routers? How do you plan to setup an MPLS LSP? Am I missing something here?
GTM-P2G8KFN