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

Henrique
Extreme Employee
I see that you have configured the same "to-P1" vlan ipaddress between PE1 and PE2 and also between PE3 and PE4. Can you fix that and re-test?

Also, between P and PE's I would create a /30 vlan.

I'll create a similar virtual lab and provide you an update soon

Henrique
Extreme Employee
Hi Antonio,

Could you please confirm if "vpls_service" vlan port 1 is UP (Link-up) for all 4 PE's?

Antonio_Opromol
Contributor II
To be complete, I've also made a simple test with only two vXOS configured both as follow to see if the problem may due to my vswitches (only ESRP), but it works in this case: create vlan sales configure vlan sales add ports 1-3 configure vlan sales ipaddress 10.1.2.3/24 enable ipforwarding create esrp esrp1 configure esrp esrp1 domain-id 4096 configure esrp esrp1 add master sales enable esrp esrp1 configure ospf routerid 5.5.5.5 configure ospf add vlan sales area 0.0.0.0 passive enable ospf The master-slave states are correctly acquired from the two routers:

4ca0c1c1ec89456e8f4e64b3f40190f2_RackMultipart20160510-39065-fiqxvi-esrp_only_inline.jpg

Henrique
Extreme Employee
Hi Antonio,

Can you please share the diagram and configuration for both PE's?

I believe it should work in the VM since ESRP will keep VPLS status UP/Ready based on it's priority/role. However, I'm not 100% sure since I just worked in this scenario using physical devices.

Antonio_Opromol
Contributor II

Hi, I'm trying to create in my virtual environment the scenario descripted in the GTAc solution: https://extremeportal.force.com/ExtrArticleDetail?an=000080251
I've problem with the ERSP domain defined in this case as: create esrp type vpls-redundancy Both PE devices remain in slave state and are not able to know the Master MAC address. If I buils a simple ESRP lab of type standard it works. Is this problems due to the same limitation descripted above regarding the fact that on the vXOS there is no the emulation of the VPLS dataplane? Thanks

GTM-P2G8KFN