How to configure VPLS L2VPN Pseudo Wire with MPLS

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
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
Photo of Matt Tinonga

Matt Tinonga

  • 372 Points 250 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Andrew Maldonado

Andrew Maldonado, Extreme Alumnus

  • 2,302 Points 2k badge 2x thumb
Matt,

Is the MPLS LDP session between the two VPLS endpoints in the operational state? The command to view the LDP sessions is "show mpls ldp peer". Also, which software version are the Summit X460 switches running?

-Andrew
Photo of Matt Tinonga

Matt Tinonga

  • 372 Points 250 badge 2x thumb
snj-xm0-nsw010.2 # show mpls ldp peer
IP Address      LDP Peer             State        Uptime          Adjacencies
172.31.22.2     172.31.55.2:0        Operational  0d:22h:15m:26s      1

ldc-xm0-nsw012.4 # show mpls ldp peer
IP Address      LDP Peer             State        Uptime          Adjacencies
172.31.55.2     172.31.22.2:0        Operational  0d:22h:16m:2s       1

Both switches are running ExtremeXOS version 15.7.1.4 v1571b4-patch1-2
Photo of andreas

andreas

  • 1,218 Points 1k badge 2x thumb
Ldp is multicast based. Not sure if extremes support tldp. ?
Photo of Andrew Maldonado

Andrew Maldonado, Extreme Alumnus

  • 2,302 Points 2k badge 2x thumb
Andreas,

The LDP hello packets are indeed transmitted via multicast to all routers (224.0.0.2) but the session is established via unicast.

LDP is supported on select platforms, with the Summit X460 being one of them. We can see in the configuration provided in the body of the post that LDP is enabled.

-Andrew
Photo of andreas

andreas

  • 1,218 Points 1k badge 2x thumb
Well then you need multicast routing on the routers between the ldp nodes ?
Photo of Grosjean, Stephane

Grosjean, Stephane, Employee

  • 12,582 Points 10k badge 2x thumb
Are you saying there's no MPLS on the routers in-between your routers?
Photo of Matt Tinonga

Matt Tinonga

  • 372 Points 250 badge 2x thumb
Correct.
Photo of Grosjean, Stephane

Grosjean, Stephane, Employee

  • 12,582 Points 10k badge 2x thumb
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?
Photo of Matt Tinonga

Matt Tinonga

  • 372 Points 250 badge 2x thumb
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!
Photo of Grosjean, Stephane

Grosjean, Stephane, Employee

  • 12,582 Points 10k badge 2x thumb
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.
Photo of Prashanth KG

Prashanth KG, Employee

  • 5,300 Points 5k badge 2x thumb
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! 
Photo of Matt Tinonga

Matt Tinonga

  • 372 Points 250 badge 2x thumb
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!
Photo of Prashanth KG

Prashanth KG, Employee

  • 5,300 Points 5k badge 2x thumb
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! 
Photo of Matt Tinonga

Matt Tinonga

  • 372 Points 250 badge 2x thumb
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
Photo of Prashanth KG

Prashanth KG, Employee

  • 5,300 Points 5k badge 2x thumb
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! 
Photo of Matt Tinonga

Matt Tinonga

  • 372 Points 250 badge 2x thumb
Hi Prashanth, see my reply in the string below... thanks again for your help.
Photo of Matt Tinonga

Matt Tinonga

  • 372 Points 250 badge 2x thumb
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
Photo of Matt Tinonga

Matt Tinonga

  • 372 Points 250 badge 2x thumb
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
Photo of EtherMAN

EtherMAN, Embassador

  • 6,456 Points 5k badge 2x thumb
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 
Photo of Matt Tinonga

Matt Tinonga

  • 372 Points 250 badge 2x thumb
Thanks, one limitation is that I can not enable jumbo packets the the wan link does not support jumbo packets.