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 configuration part looks fine to me for both the peers. Looking at the iproute output, I get an impression that there are other routers in the path. Can you confirm that? Are these devices running MPLS too? We may not have the proper LSPs for every next-hop. may be that is why, the signaling is not active.

#oa 172.31.30.0/24 172.31.22.251 12 UG-D---um--f- snj_si0-bkd022 0d:3h:22m:13s
#oa 172.31.55.0/24 172.31.22.251 12 UG-D---um--f- snj_si0-bkd022 0d:3h:22m:13s

if these are third party devices, is it possible to configure the MPLS on these devices and check if that helps!

Hi Prashanth, see my reply in the string below... thanks again for your help.

Matt_Tinonga
New Contributor II
Hi Prashanth, thank you again... I've stripped the configuration out of MPLS & LDP & OSPF and started over again and used you doc "How to configure VPLS session in Extreme Switches using LDP". I've triple checked the confing and I'll still getting to the same point "Signaling (No transport LSP)".
* snj-xm0-nsw010.61 # show vpls
L2VPN Name VPN ID Flags Services Name Peer IP State Flags
--------------- ------ ------- --------------- --------------- ----- -------
vpls-snj-bkd022 100 EAX--L- ent_sp0-int001 192.168.155.1 Sgnl C---V-L

I did notice when getting to the 2nd part of step (d.) when I rain the command "show mpls ldp peer" it returned nothing on both switches. Not until I added the last command "configure l2vpn vpls vpls-snj-bkd022 add peer 192.168.155.1 core full-mesh" did I get a responce.
* snj-xm0-nsw010.60 # show mpls ldp peer
IP Address LDP Peer State Uptime Adjacencies
192.168.122.1 192.168.155.1:0 Operational 0d:0h:41m:47s 1

configure l2vpn vpls vpls-ldc-bkd55 add peer 192.168.122.1 core full-mesh
* ldc-xm0-nsw012.39 # show mpls ldp peer
IP Address LDP Peer State Uptime Adjacencies
192.168.155.1 192.168.122.1:0 Operational 0d:0h:42m:21s 1

OSPF is advertiseing the routes and I can get ping from both end points.
* snj-xm0-nsw010.1 # 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 0d:23h:5m:59s
#oa 172.31.30.0/24 172.31.22.251 12 UG-D---um--f- snj_si0-bkd022 0d:3h:22m:13s
#oa 172.31.55.0/24 172.31.22.251 12 UG-D---um--f- snj_si0-bkd022 0d:3h:22m:13s
#d 192.168.122.1/32 192.168.122.1 1 U------um--f- lpbk 0d:23h:5m:59s
#oa 192.168.155.1/32 172.31.22.251 22 UG-D---um--f- snj_si0-bkd022 0d:3h:22m:13s

snj-xm0-nsw010.3 # ping 192.168.155.1 from 192.168.122.1
Ping(ICMP) 192.168.155.1: 4 packets, 8 data bytes, interval 1 second(s).
16 bytes from 192.168.155.1: icmp_seq=0 ttl=62 time=42 ms
16 bytes from 192.168.155.1: icmp_seq=1 ttl=62 time=41 ms
16 bytes from 192.168.155.1: icmp_seq=2 ttl=62 time=41 ms
16 bytes from 192.168.155.1: icmp_seq=3 ttl=62 time=44 ms

I've copied the configs from both switches in the format of your document link.
Do you have any other ideia? or any test I can run?

===============================================================================
Switch #1: snj-xm0-nsw010
loopback vlan name: lpbk (192.168.122.1/32)
Core vlan name: snj_si0-bkd022 (172.31.22.2/24)
Service vlan name: ent_sp0-int001
VPLS l2vpn name: vpls-snj-bkd022

create vlan "ent_sp0-int001"
configure vlan ent_sp0-int001 tag 3151
create vlan "lpbk"
enable loopback-mode vlan lpbk
create vlan "snj_si0-bkd022"
configure vlan snj_si0-bkd022 tag 3122
configure vlan snj_si0-bkd022 ipaddress 172.31.22.2 255.255.255.0
enable ipforwarding vlan snj_si0-bkd022
configure vlan lpbk ipaddress 192.168.122.1 255.255.255.255
enable ipforwarding vlan lpbk
disable igmp snooping vlan "ent_sp0-int001"

configure ospf routerid 192.168.122.1
enable ospf
enable ospf export direct cost 10 type ase-type-1
configure ospf add vlan lpbk area 0.0.0.0 passive
configure ospf add vlan snj_si0-bkd022 area 0.0.0.0

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.122.1
enable mpls protocol ldp
enable mpls
create l2vpn vpls vpls-snj-bkd022 fec-id-type pseudo-wire 100
configure l2vpn vpls vpls-snj-bkd022 add service vlan ent_sp0-int001
configure l2vpn vpls vpls-snj-bkd022 add peer 192.168.155.1 core full-mesh

===============================================================================

Switch #2 ldc-xm0-nsw012
loopback vlan name: lpbk (192.168.155.1/32)
Core vlan name: snj_si0-bkd022 (172.31.55.2/24)
Service vlan name: ent_sp0-int001
VPLS l2vpn name: vpls-ldc-bkd055

create vlan "ent_sp0-int001"
configure vlan ent_sp0-int001 tag 3151
create vlan "ldc-si0-bkd55"
configure vlan ldc-si0-bkd55 tag 3155
create vlan "lpbk"
enable loopback-mode vlan lpbk
configure vlan ldc-si0-bkd55 ipaddress 172.31.55.2 255.255.255.0
enable ipforwarding vlan ldc-si0-bkd55
configure vlan lpbk ipaddress 192.168.155.1 255.255.255.255
enable ipforwarding vlan lpbk
disable igmp snooping vlan "ent_sp0-int001"

configure ospf routerid 192.168.155.1
enable ospf
enable ospf export direct cost 10 type ase-type-1
configure ospf add vlan ldc-si0-bkd55 area 0.0.0.0
configure ospf add vlan lpbk area 0.0.0.0 passive

configure mpls add vlan "ldc-si0-bkd55"
enable mpls vlan "ldc-si0-bkd55"
enable mpls ldp vlan "ldc-si0-bkd55"
configure mpls add vlan "lpbk"
enable mpls vlan "lpbk"
enable mpls ldp vlan "lpbk"
configure mpls lsr-id 192.168.155.1
enable mpls protocol ldp
enable mpls
create l2vpn vpls vpls-ldc-bkd55 fec-id-type pseudo-wire 100
configure l2vpn vpls vpls-ldc-bkd55 add service vlan ent_sp0-int001
configure l2vpn vpls vpls-ldc-bkd55 add peer 192.168.122.1 core full-mesh

Prashanth_KG
Extreme Employee
Hi Matt,

Good to know that some misconfigs have been sorted out.
If the MPLS peers are operational, there should be a transport LSP for the peer automatically in the VPLS instance. Try re-configuring the L2VPN and check if it helps!

Also, please refer the article below for a sample VPLS configuration.

How to configure VPLS session in Extreme Switches using LDP

Hope this helps!

Matt_Tinonga
New Contributor II
Thanks Prashanth. I found two issues with my config. I did not have routing between the loopback and a vlan tag was incorrect. I've made the change you recommend and fix the routing issue and vlan tag, I did use diffrent IP for the loppback to better fit into our network.

I do see the end points operational.
snj-xm0-nsw010.7 # sh mpls ldp peer
IP Address LDP Peer State Uptime Adjacencies
192.168.122.1 192.168.155.1:0 Operational 0d:0h:27m:22s 1

IP Address LDP Peer State Uptime Adjacencies
192.168.155.1 192.168.122.1:0 Operational 0d:0h:27m:12s 1

But I'm still seeing vpn showing Signaling state.

snj-xm0-nsw010.10 # sh vpls "ldc-snj-l2vpn" detail
L2VPN Name: ldc-snj-l2vpn
VPN ID : 3125 Admin State : Enabled
Source Address : 192.168.122.1 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: 192.168.155.1
PW State : Signaling (No transport LSP)
PW Index : 10001
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 : 0x00435 PW Tx Label : 0x00435
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 : --

ldc-xm0-nsw012.4 # sh mpls ldp peer
IP Address LDP Peer State Uptime Adjacencies
192.168.155.1 192.168.122.1:0 Operational 0d:0h:27m:12s 1
ldc-xm0-nsw012.5 # sh vpls "ldc-snj-l2vpn" detail
L2VPN Name: ldc-snj-l2vpn
VPN ID : 3125 Admin State : Enabled
Source Address : 192.168.155.1 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: 192.168.122.1
PW State : Signaling (No transport LSP)
PW Index : 10001
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 : 0x00435 PW Tx Label : 0x00435
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 : --

snj-xm0-nsw010.11 # sh config 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 192.168.122.1
enable mpls protocol ldp
enable mpls
create l2vpn vpls ldc-snj-l2vpn fec-id-type pseudo-wire 3125
configure l2vpn vpls ldc-snj-l2vpn add service vlan ent_sp0-int001
configure l2vpn vpls ldc-snj-l2vpn add peer 192.168.155.1 core full-mesh
snj-xm0-nsw010.12 # sh config ospf
#
# Module ospf configuration.
#
configure ospf routerid 192.168.122.1
enable ospf
enable ospf export direct cost 10 type ase-type-1
configure ospf add vlan lpbk area 0.0.0.0
configure ospf add vlan snj_si0-bkd022 area 0.0.0.0

ldc-xm0-nsw012.6 # sh conf mpls
#
# Module mpls configuration.
#
configure mpls add vlan "ldc-si0-bkd55"
enable mpls vlan "ldc-si0-bkd55"
enable mpls ldp vlan "ldc-si0-bkd55"
configure mpls add vlan "lpbk"
enable mpls vlan "lpbk"
enable mpls ldp vlan "lpbk"
configure mpls lsr-id 192.168.155.1
enable mpls protocol ldp
enable mpls
create l2vpn vpls ldc-snj-l2vpn fec-id-type pseudo-wire 3125
configure l2vpn vpls ldc-snj-l2vpn add service vlan ent_sp0-int001
configure l2vpn vpls ldc-snj-l2vpn add peer 192.168.122.1 core full-mesh
ldc-xm0-nsw012.7 # sh conf ospf
#
# Module ospf configuration.
#
configure ospf routerid 192.168.155.1
enable ospf
enable ospf export direct cost 10 type ase-type-1
configure ospf add vlan ldc-si0-bkd55 area 0.0.0.0
configure ospf add vlan lpbk area 0.0.0.0

Your help is much appreciated!

GTM-P2G8KFN