cancel
Showing results for 
Search instead for 
Did you mean: 

VPLS Not working over MPLS

VPLS Not working over MPLS

Darren_Saliva
New Contributor

Hi, I have some EXOS VM's set up in GNS3 using Virtual box. I used this link to configure MPLS and VPLS https://extremeportal.force.com/ExtrArticleDetail?an=000081349 The only difference is that I have 4 switches instead of 2. I setup 2 more switches to use as the "customer" to see if traffic was being passed over VPLS from one "customer" switch to the other. It is not. I'm not sure what I'm missing. i am including my MPLS/VPLS configurations for each LSR and a screenshot of my setup in GNS3.

As you can see on the screenshot, I am only testing between Incap-Boca and Incap-Chi. those 2 switches are connected to the service VLAN on their respective LSR's.

I am new to MPLS so any help would be much appreciated. Thank you in advanced for any help you provide.

## Config for EXOS-MPLS-LSR-1
configure snmp sysname LSR-1
create vlan "lpbk"
enable loopback-mode vlan lpbk
create vlan "LSR2-uplink"
create vlan "LSR3-uplink"
create vlan "boca_service"
configure vlan boca_service tag 1114
configure vlan default delete ports all
configure vlan LSR2-uplink add ports 4 untagged
configure vlan LSR3-uplink add ports 5 untagged
configure vlan boca_service add ports 7 untagged
configure vlan lpbk ipaddress 10.100.200.1/32
enable ipforwarding vlan lpbk
configure vlan LSR2-uplink ipaddress 11.0.2.1/30
configure vlan LSR3-uplink ipaddress 11.0.1.1/30
enable ipforwarding vlan LSR2-uplink
enable ipforwarding vlan LSR3-uplink
disable igmp snooping vlan "boca_service"

configure ospf routerid 10.100.200.1
enable ospf
configure ospf add vlan lpbk area 0.0.0.0 passive
configure ospf add vlan LSR2-uplink area 0.0.0.0 link-type point-to-point
configure ospf add vlan LSR3-uplink area 0.0.0.0 link-type point-to-point

configure mpls add vlan "lpbk"
enable mpls vlan "lpbk"
enable mpls ldp vlan "lpbk"
configure mpls add vlan "LSR2-uplink"
enable mpls vlan "LSR2-uplink"
enable mpls ldp vlan "LSR2-uplink"
configure mpls add vlan "LSR3-uplink"
enable mpls vlan "LSR3-uplink"
enable mpls ldp vlan "LSR3-uplink"
configure mpls lsr-id 10.100.200.1
enable mpls protocol ldp
enable mpls
create l2vpn vpls incap-vpls-vpn fec-id-type pseudo-wire 69
configure l2vpn vpls incap-vpls-vpn add service vlan boca_service
configure l2vpn vpls incap-vpls-vpn add peer 10.100.200.2 core full-mesh
configure l2vpn vpls incap-vpls-vpn add peer 10.100.200.3 core full-mesh
configure l2vpn vpls incap-vpls-vpn add peer 10.100.200.4 core full-mesh

create vlan LSR4-uplink
conf vlan LSR4-uplink add ports 3 untagged
conf vlan LSR4-uplink ipaddress 11.0.5.1/30
enable ipforwarding vlan LSR4-uplink
conf ospf add vlan LSR4-uplink area 0.0.0.0 link-type point-to-point
configure mpls add vlan "LSR4-uplink"
enable mpls vlan "LSR4-uplink"
enable mpls ldp vlan "LSR4-uplink"

## Config for EXOS-MPLS-LSR-2
configure snmp sysname LSR-2
create vlan "lpbk"
enable loopback-mode vlan lpbk
create vlan "LSR1-uplink"
create vlan "LSR4-uplink"
create vlan "chi_service"
configure vlan chi_service tag 1111
configure vlan default delete ports all
configure vlan LSR1-uplink add ports 4 untagged
configure vlan LSR4-uplink add ports 5 untagged
configure vlan chi_service add ports 7 untagged
configure vlan lpbk ipaddress 10.100.200.2/32
enable ipforwarding vlan lpbk
configure vlan LSR1-uplink ipaddress 11.0.2.2/30
configure vlan LSR4-uplink ipaddress 11.0.4.2/30
enable ipforwarding vlan LSR1-uplink
enable ipforwarding vlan LSR4-uplink
disable igmp snooping vlan "chi_service"

configure ospf routerid 10.100.200.2
enable ospf
configure ospf add vlan lpbk area 0.0.0.0 passive
configure ospf add vlan LSR1-uplink area 0.0.0.0 link-type point-to-point
configure ospf add vlan LSR4-uplink area 0.0.0.0 link-type point-to-point

configure mpls add vlan "lpbk"
enable mpls vlan "lpbk"
enable mpls ldp vlan "lpbk"
configure mpls add vlan "LSR1-uplink"
configure mpls add vlan "LSR4-uplink"
enable mpls vlan "LSR1-uplink"
enable mpls vlan "LSR4-uplink"
enable mpls ldp vlan "LSR1-uplink"
enable mpls ldp vlan "LSR4-uplink"
configure mpls lsr-id 10.100.200.2
enable mpls protocol ldp
enable mpls
create l2vpn vpls incap-vpls-vpn fec-id-type pseudo-wire 69
configure l2vpn vpls incap-vpls-vpn add service vlan chi_service
configure l2vpn vpls incap-vpls-vpn add peer 10.100.200.1 core full-mesh
configure l2vpn vpls incap-vpls-vpn add peer 10.100.200.3 core full-mesh
configure l2vpn vpls incap-vpls-vpn add peer 10.100.200.4 core full-mesh

create vlan LSR3-uplink
conf vlan LSR3-uplink add ports 3 untagged
conf vlan LSR3-uplink ipaddress 11.0.6.1/30
enable ipforwarding vlan LSR3-uplink
conf ospf add vlan LSR3-uplink area 0.0.0.0 link-type point-to-point
configure mpls add vlan "LSR3-uplink"
enable mpls vlan "LSR3-uplink"
enable mpls ldp vlan "LSR3-uplink"

## Config for EXOS-MPLS-LSR-3
configure snmp sysname LSR-3
create vlan "lpbk"
enable loopback-mode vlan lpbk
create vlan "LSR1-uplink"
create vlan "LSR4-uplink"
create vlan "keno_service"
configure vlan keno_service tag 1168
configure vlan default delete ports all
configure vlan LSR1-uplink add ports 5 untagged
configure vlan LSR4-uplink add ports 4 untagged
configure vlan keno_service add ports 7 untagged
configure vlan lpbk ipaddress 10.100.200.3/32
enable ipforwarding vlan lpbk
configure vlan LSR1-uplink ipaddress 11.0.1.2/30
configure vlan LSR4-uplink ipaddress 11.0.3.1/30
enable ipforwarding vlan LSR1-uplink
enable ipforwarding vlan LSR4-uplink
disable igmp snooping vlan "keno_service"

configure ospf routerid 10.100.200.3
enable ospf
configure ospf add vlan lpbk area 0.0.0.0 passive
configure ospf add vlan LSR1-uplink area 0.0.0.0 link-type point-to-point
configure ospf add vlan LSR4-uplink area 0.0.0.0 link-type point-to-point

configure mpls add vlan "lpbk"
enable mpls vlan "lpbk"
enable mpls ldp vlan "lpbk"
configure mpls add vlan "LSR1-uplink"
configure mpls add vlan "LSR4-uplink"
enable mpls vlan "LSR1-uplink"
enable mpls vlan "LSR4-uplink"
enable mpls ldp vlan "LSR1-uplink"
enable mpls ldp vlan "LSR4-uplink"
configure mpls lsr-id 10.100.200.3
enable mpls protocol ldp
enable mpls
create l2vpn vpls incap-vpls-vpn fec-id-type pseudo-wire 69
configure l2vpn vpls incap-vpls-vpn add service vlan keno_service
configure l2vpn vpls incap-vpls-vpn add peer 10.100.200.1 core full-mesh
configure l2vpn vpls incap-vpls-vpn add peer 10.100.200.2 core full-mesh
configure l2vpn vpls incap-vpls-vpn add peer 10.100.200.4 core full-mesh

create vlan LSR2-uplink
conf vlan LSR2-uplink add ports 3 untagged
conf vlan LSR2-uplink ipaddress 11.0.6.2/30
enable ipforwarding vlan LSR2-uplink
conf ospf add vlan LSR2-uplink area 0.0.0.0 link-type point-to-point
configure mpls add vlan "LSR2-uplink"
enable mpls vlan "LSR2-uplink"
enable mpls ldp vlan "LSR2-uplink"

## Config for EXOS-MPLS-LSR-4
configure snmp sysname LSR-4
create vlan "lpbk"
enable loopback-mode vlan lpbk
create vlan "LSR2-uplink"
create vlan "LSR3-uplink"
create vlan "NY_service"
configure vlan NY_service tag 1131
configure vlan default delete ports all
configure vlan LSR2-uplink add ports 5 untagged
configure vlan LSR3-uplink add ports 4 untagged
configure vlan NY_service add ports 7 untagged
configure vlan lpbk ipaddress 10.100.200.4/32
enable ipforwarding vlan lpbk
configure vlan LSR2-uplink ipaddress 11.0.4.1/30
configure vlan LSR3-uplink ipaddress 11.0.3.2/30
enable ipforwarding vlan LSR2-uplink
enable ipforwarding vlan LSR3-uplink
disable igmp snooping vlan "NY_service"

configure ospf routerid 10.100.200.4
enable ospf
configure ospf add vlan lpbk area 0.0.0.0 passive
configure ospf add vlan LSR2-uplink area 0.0.0.0 link-type point-to-point
configure ospf add vlan LSR3-uplink area 0.0.0.0 link-type point-to-point

configure mpls add vlan "lpbk"
enable mpls vlan "lpbk"
enable mpls ldp vlan "lpbk"
configure mpls add vlan "LSR2-uplink"
configure mpls add vlan "LSR3-uplink"
enable mpls vlan "LSR2-uplink"
enable mpls vlan "LSR3-uplink"
enable mpls ldp vlan "LSR2-uplink"
enable mpls ldp vlan "LSR3-uplink"
configure mpls lsr-id 10.100.200.4
enable mpls protocol ldp
enable mpls
create l2vpn vpls incap-vpls-vpn fec-id-type pseudo-wire 69
configure l2vpn vpls incap-vpls-vpn add service vlan NY_service
configure l2vpn vpls incap-vpls-vpn add peer 10.100.200.1 core full-mesh
configure l2vpn vpls incap-vpls-vpn add peer 10.100.200.2 core full-mesh
configure l2vpn vpls incap-vpls-vpn add peer 10.100.200.3 core full-mesh

create vlan LSR1-uplink
conf vlan LSR1-uplink add ports 3 untagged
conf vlan LSR1-uplink ipaddress 11.0.5.2/30
enable ipforwarding vlan LSR1-uplink
conf ospf add vlan LSR1-uplink area 0.0.0.0 link-type point-to-point
configure mpls add vlan "LSR1-uplink"
enable mpls vlan "LSR1-uplink"
enable mpls ldp vlan "LSR1-uplink"

183e7f58ae3141b1a127c9b144a79904_RackMultipart20160226-5067-r25b1q-MPLS_VPLS_inline.jpg

 

37 REPLIES 37

Antonio_Opromol
Contributor II
Hi Henrique, I've had time to do some more tests on my demo environment and the switch between the lsp primary path and the lsp secondary path works correctly...... Remain only the problem when I use a profile for see if the problem is the fact that I'm using the virtual XOS or if there is a configuration problem.

Antonio_Opromol
Contributor II
Hi Henrique, have you had the chance to test my latest conf on HW switches?

Antonio_Opromol
Contributor II
Below my latest conf.

London (mgmt: 192.168.10.153):
configure snmp sysName "London"
configure vlan default delete ports all
create vlan "lpbk"
enable loopback-mode vlan lpbk
create vlan "Glasgow-London"
create vlan "Birmingham-London"
configure vlan Glasgow-London add ports 1 untagged
configure vlan Birmingham-London add ports 2 untagged
configure vlan lpbk ipaddress 1.0.0.0 255.255.255.255
enable ipforwarding vlan lpbk
configure vlan Glasgow-London ipaddress 172.25.23.22 255.255.255.252
enable ipforwarding vlan Glasgow-London
configure vlan Birmingham-London ipaddress 172.25.23.37 255.255.255.252
enable ipforwarding vlan Birmingham-London

configure ospf routerid 1.0.0.0
enable ospf
configure ospf add vlan lpbk area 0.0.0.0 passive
configure ospf add vlan Glasgow-London area 0.0.0.0 link-type point-to-point
configure ospf add vlan Birmingham-London area 0.0.0.0 link-type point-to-point

#
# Module mpls configuration.
#
configure mpls add vlan "lpbk"
enable mpls vlan "lpbk"
enable mpls rsvp-te vlan "lpbk"
configure mpls add vlan "Glasgow-London"
enable mpls vlan "Glasgow-London"
enable mpls rsvp-te vlan "Glasgow-London"
configure mpls add vlan "Birmingham-London"
enable mpls vlan "Birmingham-London"
enable mpls rsvp-te vlan "Birmingham-London"
configure mpls lsr-id 1.0.0.0
enable mpls protocol rsvp-te
enable mpls protocol ldp
enable mpls

Liverpool (mgmt: 192.168.10.154):

configure snmp sysName "Liverpool"
configure vlan default delete ports all
create vlan "lpbk"
enable loopback-mode vlan lpbk
create vlan "Glasgow-Liverpool"
create vlan "Birmingham-Liverpool"
configure vlan Glasgow-Liverpool add ports 1 untagged
configure vlan Birmingham-Liverpool add ports 2 untagged
configure vlan lpbk ipaddress 5.0.0.0 255.255.255.255
enable ipforwarding vlan lpbk
configure vlan Glasgow-Liverpool ipaddress 172.25.23.34 255.255.255.252
enable ipforwarding vlan Glasgow-Liverpool
configure vlan Birmingham-Liverpool ipaddress 172.25.23.29 255.255.255.252
enable ipforwarding vlan Birmingham-Liverpool

configure ospf routerid 5.0.0.0
enable ospf
configure ospf add vlan lpbk area 0.0.0.0 passive
configure ospf add vlan Glasgow-Liverpool area 0.0.0.0 link-type point-to-point
configure ospf add vlan Birmingham-Liverpool area 0.0.0.0 link-type point-to-point

#
# Module mpls configuration.
#
configure mpls add vlan "lpbk"
enable mpls vlan "lpbk"
enable mpls rsvp-te vlan "lpbk"
configure mpls add vlan "Glasgow-Liverpool"
enable mpls vlan "Glasgow-Liverpool"
enable mpls rsvp-te vlan "Glasgow-Liverpool"
configure mpls add vlan "Birmingham-Liverpool"
enable mpls vlan "Birmingham-Liverpool"
enable mpls rsvp-te vlan "Birmingham-Liverpool"
configure mpls lsr-id 5.0.0.0
enable mpls protocol rsvp-te
enable mpls protocol ldp
enable mpls

Glasgow (mgmt: 192.168.10.155):

configure snmp sysName "Glasgow"
configure vlan default delete ports all
create vlan "lpbk"
enable loopback-mode vlan lpbk
create vlan "Glasgow-London"
create vlan "Glasgow-Liverpool"
create vlan "Glasgow-Birmingham"
create vlan "vpls_service"
configure vlan vpls_service tag 1001
configure vlan vpls_service add ports 1 untagged
configure vlan Glasgow-Liverpool add ports 2 untagged
configure vlan Glasgow-Birmingham add ports 3 untagged
configure vlan Glasgow-London add ports 4 untagged
configure vlan lpbk ipaddress 2.0.0.0 255.255.255.255
enable ipforwarding vlan lpbk
configure vlan Glasgow-Liverpool ipaddress 172.25.23.33 255.255.255.252
enable ipforwarding vlan Glasgow-Liverpool
configure vlan Glasgow-Birmingham ipaddress 172.25.23.9 255.255.255.252
enable ipforwarding vlan Glasgow-Birmingham
configure vlan Glasgow-London ipaddress 172.25.23.21 255.255.255.252
enable ipforwarding vlan Glasgow-London
disable igmp snooping vlan "vpls_service"

configure ospf routerid 2.0.0.0
enable ospf
configure ospf add vlan lpbk area 0.0.0.0 passive
configure ospf add vlan Glasgow-Liverpool area 0.0.0.0 link-type point-to-point
configure ospf add vlan Glasgow-London area 0.0.0.0 link-type point-to-point
configure ospf add vlan Glasgow-Birmingham area 0.0.0.0 link-type point-to-point

configure mpls add vlan "lpbk"
enable mpls vlan "lpbk"
enable mpls rsvp-te vlan "lpbk"
configure mpls add vlan "Glasgow-London"
enable mpls vlan "Glasgow-London"
enable mpls rsvp-te vlan "Glasgow-London"
configure mpls add vlan "Glasgow-Birmingham"
enable mpls vlan "Glasgow-Birmingham"
enable mpls rsvp-te vlan "Glasgow-Birmingham"
configure mpls add vlan "Glasgow-Liverpool"
enable mpls vlan "Glasgow-Liverpool"
enable mpls rsvp-te vlan "Glasgow-Liverpool"
configure mpls lsr-id 2.0.0.0
enable mpls protocol rsvp-te
enable mpls protocol ldp
enable mpls

configure mpls rsvp-te bandwidth committed-rate 20 Mbps Glasgow-London
configure mpls rsvp-te bandwidth committed-rate 20 Mbps Glasgow-Liverpool

create mpls rsvp-te profile Glasgow-Birmingham-prof
configure mpls rsvp-te profile Glasgow-Birmingham-prof bandwidth committed-rate 10 Mbps
configure mpls rsvp-te profile Glasgow-Birmingham-prof setup-priority 5 hold-priority 5

create mpls rsvp-te path Glasgow-Birmingham-pri-path
create mpls rsvp-te path Glasgow-Birmingham-sec-path

configure mpls rsvp-te path Glasgow-Birmingham-pri-path add ero 1.0.0.0/32 loose order 100
configure mpls rsvp-te path Glasgow-Birmingham-sec-path add ero 5.0.0.0/32 loose order 100

create mpls rsvp-te lsp Glasgow-Birmingham-lsp destination 4.0.0.0
configure mpls rsvp-te lsp Glasgow-Birmingham-lsp add path Glasgow-Birmingham-pri-path primary
configure mpls rsvp-te lsp Glasgow-Birmingham-lsp add path Glasgow-Birmingham-sec-path secondary

create vpls Glasgow-Birmingham-Oxford-Uni fec-id-type pseudo-wire 199
configure vpls "Glasgow-Birmingham-Oxford-Uni" add peer 4.0.0.0 core full-mesh
configure vpls Glasgow-Birmingham-Oxford-Uni peer 4.0.0.0 add mpls lsp Glasgow-Birmingham-lsp
configure l2vpn vpls Glasgow-Birmingham-Oxford-Uni add service vlan vpls_service

configure mpls rsvp-te lsp "Glasgow-Birmingham-lsp" add path "Glasgow-Birmingham-pri-path" primary
configure mpls rsvp-te lsp "Glasgow-Birmingham-lsp" add path "Glasgow-Birmingham-sec-path" secondary

Birmingham (mgmt: 192.168.10.156):

configure snmp sysName "Birmingham"
configure vlan default delete ports all
create vlan "lpbk"
enable loopback-mode vlan lpbk
create vlan "Birmingham-London"
create vlan "Birmingham-Liverpool"
create vlan "Glasgow-Birmingham"
create vlan "vpls_service"
configure vlan vpls_service tag 1001
configure vlan vpls_service add ports 1 untagged
configure vlan Birmingham-Liverpool add ports 2 untagged
configure vlan Glasgow-Birmingham add ports 3 untagged
configure vlan Birmingham-London add ports 4 untagged
configure vlan lpbk ipaddress 4.0.0.0 255.255.255.255
enable ipforwarding vlan lpbk
configure vlan Birmingham-Liverpool ipaddress 172.25.23.30 255.255.255.252
enable ipforwarding vlan Birmingham-Liverpool
configure vlan Glasgow-Birmingham ipaddress 172.25.23.10 255.255.255.252
enable ipforwarding vlan Glasgow-Birmingham
configure vlan Birmingham-London ipaddress 172.25.23.38 255.255.255.252
enable ipforwarding vlan Birmingham-London
disable igmp snooping vlan "vpls_service"

configure ospf routerid 4.0.0.0
enable ospf
configure ospf add vlan lpbk area 0.0.0.0 passive
configure ospf add vlan Birmingham-Liverpool area 0.0.0.0 link-type point-to-point
configure ospf add vlan Birmingham-London area 0.0.0.0 link-type point-to-point
configure ospf add vlan Glasgow-Birmingham area 0.0.0.0 link-type point-to-point

configure mpls add vlan "lpbk"
enable mpls vlan "lpbk"
enable mpls rsvp-te vlan "lpbk"
configure mpls add vlan "Birmingham-London"
enable mpls vlan "Birmingham-London"
enable mpls rsvp-te vlan "Birmingham-London"
configure mpls add vlan "Glasgow-Birmingham"
enable mpls vlan "Glasgow-Birmingham"
enable mpls rsvp-te vlan "Glasgow-Birmingham"
configure mpls add vlan "Birmingham-Liverpool"
enable mpls vlan "Birmingham-Liverpool"
enable mpls rsvp-te vlan "Birmingham-Liverpool"
configure mpls lsr-id 4.0.0.0
enable mpls protocol rsvp-te
enable mpls protocol ldp
enable mpls

configure mpls rsvp-te bandwidth committed-rate 20 Mbps Birmingham-London
configure mpls rsvp-te bandwidth committed-rate 20 Mbps Birmingham-Liverpool

create mpls rsvp-te profile Birmingham-Glasgow-prof
configure mpls rsvp-te profile Birmingham-Glasgow-prof bandwidth committed-rate 10 Mbps
configure mpls rsvp-te profile Birmingham-Glasgow-prof setup-priority 5 hold-priority 5

create mpls rsvp-te path Birmingham-Glasgow-pri-path
create mpls rsvp-te path Birmingham-Glasgow-sec-path

configure mpls rsvp-te path Birmingham-Glasgow-pri-path add ero 1.0.0.0/32 loose order 100
configure mpls rsvp-te path Birmingham-Glasgow-sec-path add ero 5.0.0.0/32 loose order 100

create mpls rsvp-te lsp Birmingham-Glasgow-lsp destination 2.0.0.0
configure mpls rsvp-te lsp Birmingham-Glasgow-lsp add path Birmingham-Glasgow-pri-path primary
configure mpls rsvp-te lsp Birmingham-Glasgow-lsp add path Birmingham-Glasgow-sec-path secondary

create vpls Glasgow-Birmingham-Oxford-Uni fec-id-type pseudo-wire 199
configure vpls "Glasgow-Birmingham-Oxford-Uni" add peer 2.0.0.0 core full-mesh
configure vpls Glasgow-Birmingham-Oxford-Uni peer 2.0.0.0 add mpls lsp Birmingham-Glasgow-lsp
configure l2vpn vpls Glasgow-Birmingham-Oxford-Uni add service vlan vpls_service

With this conf the l2vpn tunnel is up, and if I ping between glasgow and birmingham (in both direction) works, but only if the primary path is up, despite the fact that the config is perfectly symmetric (if I power off London router on the primary path, the ping stop and don't flow throught the secondary path)....

Antonio_Opromol
Contributor II
Ok Henrique, thanks. Have a happy week-end

Henrique
Extreme Employee
Hi Antonio, on Monday I will load the same configuration on physical devices just to confirm if that's related to the VM or configuration.
GTM-P2G8KFN