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

EtherMAN
Contributor III
Hmm not a MPLS expert but when we need to pass MPLS framing at layer 2 across a non-mpls switch then we build a vman and enable jumbo frames on the per layer 2 switches to tunnel the mpls traffic through. On the 450's there are some restrictions if you want to pass standard tagged vlans and vmans on common trunk ports. Not sure if this will help or confuse

Thanks, one limitation is that I can not enable jumbo packets the the wan link does not support jumbo packets.

Matt_Tinonga
New Contributor II
Hi Prashanth, yes there is routers in between there are X450a with only Advanced Edge licening so I can't enable MPLS. I would think that the X450a would pass the MPLS traffic? Is there something that would stop them from doing so?

Thanks again, Matt

Prashanth, I wonted to add that was checking the advertising of each of the routers. I'm seeing a diffrence on the two routes.

snj-xm0-nsw010.8 # sh mpls ldp label advertised

Advertised Destination Label Peer NHop
Label Mapping Flags Label Type NextHop Name
-------------------------------------------------------------------------------
0x00434 192.168.122.1/32 -LE -- vlan lpbk --
0x00435 192.168.155.1/32 2LE -- VPLS -- vpls-snj-bkd022

Flags: (3) L3VPN, (2) L2VPN, (L) LDP, (R) RSVP-TE, (S) Static,
(T) Transit LSP, (I) Ingress to LSP, (E) Egress from LSP,
(M) Multiple Next Hops

ldc-xm0-nsw012.9 # sh mpls ldp label advertised

Advertised Destination Label Peer NHop
Label Mapping Flags Label Type NextHop Name
-------------------------------------------------------------------------------
0x00434 192.168.122.1/32 2LE -- VPLS -- vpls-ldc-bkd55

Flags: (3) L3VPN, (2) L2VPN, (L) LDP, (R) RSVP-TE, (S) Static,
(T) Transit LSP, (I) Ingress to LSP, (E) Egress from LSP,
(M) Multiple Next Hops

Is this some ting to look into?

Thanks Matt

GTM-P2G8KFN