VPLS Not working over MPLS

  • 0
  • 1
  • Problem
  • Updated 2 years ago
  • Solved
Hi, I have some EXOS VM's set up in GNS3 using Virtual box. I used this link to configure MPLS and VPLS https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-configure-VPLS-session-in-Extreme-S.... 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"

Photo of Darren Saliva

Darren Saliva

  • 662 Points 500 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Grosjean, Stephane

Grosjean, Stephane, Employee

  • 13,676 Points 10k badge 2x thumb
There's no software emulation for VPLS dataplane in the VM. That means that VPLS is not working with the VM as of today. Signaling is working, but you'd not be able to pass traffic.
Photo of Henrique

Henrique, Employee

  • 10,342 Points 10k badge 2x thumb
I believe you can configure an IP address on PE service vlan and try to ping the other PE service vlan just to test connectivity. This should work through EXOS VM.

However, if you have an external device (PC, switch, etc) connected to the PE service vlan, then that traffic won't pass through VPLS if using EXOS VM.
Photo of Darren Saliva

Darren Saliva

  • 662 Points 500 badge 2x thumb
Ok. thanks for the information Stephane and Henrique. Is there a time frame for when VPLS fucntionality will be added to the EXOS VM?
Photo of Antonio Opromolla

Antonio Opromolla

  • 2,216 Points 2k badge 2x thumb
Hi, I'm trying to create in my virtual environment the scenario descripted in the GTAc solution: https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-configure-VPLS-with-ESRP-redundancy
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
(Edited)
Photo of Henrique

Henrique, Employee

  • 10,342 Points 10k badge 2x thumb
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.
Photo of Antonio Opromolla

Antonio Opromolla

  • 2,216 Points 2k badge 2x thumb
Hi Henrique,
the schema is the followings (respect the GTAC article I've ot onle PE1,PE2,PE3,PE4 and only 1 P device between them:



My PE and P configurations are:
PE1:
debug epm enable trial-license

configure vlan default delete ports all
create vlan "lpbk"
enable loopback-mode vlan lpbk
create vlan "to-P1"
create vlan "to-PE2"
create vlan "vpls_service"
configure vlan vpls_service tag 1001
configure vlan to-P1 add ports 3 untagged
configure vlan to-PE2 add ports 2 untagged
configure vlan vpls_service add ports 1 untagged
configure vlan lpbk ipaddress 192.168.200.1 255.255.255.255
enable ipforwarding vlan lpbk
configure vlan to-P1 ipaddress 198.51.100.1 255.255.255.248
configure vlan to-PE2 ipaddress 198.51.101.1 255.255.255.248
enable ipforwarding vlan to-P1
enable ipforwarding vlan to-PE2
disable igmp snooping vlan "vpls_service"

configure ospf routerid 192.168.200.1
enable ospf
configure ospf add vlan lpbk area 0.0.0.0 passive
configure ospf add vlan to-P1 area 0.0.0.0 link-type point-to-point
configure ospf add vlan to-PE2 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 "to-P1"
configure mpls add vlan "to-PE2"
enable mpls vlan "to-P1"
enable mpls vlan "to-PE2"
enable mpls ldp vlan "to-P1"
enable mpls ldp vlan "to-PE2"
configure mpls lsr-id 192.168.200.1
enable mpls protocol ldp
enable mpls

create vlan esrp_control_vlan_1_2
config vlan esrp_control_vlan_1_2 tag 1002
config vlan esrp_control_vlan_1_2 add ports 1,2 tagged
create esrp esrp_domain_1_2 type vpls-redundancy
configure esrp esrp_domain_1_2 domain-id 4096
configure esrp esrp_domain_1_2 add master esrp_control_vlan_1_2
configure esrp esrp_domain_1_2 priority 5
enable esrp esrp_domain_1_2

create l2vpn vpls tunnel1 fec-id-type pseudo-wire 199
configure l2vpn vpls tunnel1 add service vlan vpls_service
configure l2vpn vpls tunnel1 add peer 192.168.200.3 core full-mesh
configure l2vpn vpls tunnel1 add peer 192.168.200.4 core full-mesh
disable l2vpn vpls tunnel1
configure l2vpn vpls tunnel1 redundancy esrp esrp_domain_1_2
enable l2vpn vpls tunnel1

PE2:
debug epm enable trial-license

configure vlan default delete ports all
create vlan "lpbk"
enable loopback-mode vlan lpbk
create vlan "to-P1"
create vlan "to-PE1"
create vlan "vpls_service"
configure vlan vpls_service tag 1001
configure vlan to-P1 add ports 3 untagged
configure vlan to-PE1 add ports 2 untagged
configure vlan vpls_service add ports 1 untagged
configure vlan lpbk ipaddress 192.168.200.2 255.255.255.255
enable ipforwarding vlan lpbk
configure vlan to-P1 ipaddress 198.51.100.1 255.255.255.248
configure vlan to-PE1 ipaddress 198.51.101.2 255.255.255.248
enable ipforwarding vlan to-P1
enable ipforwarding vlan to-PE1
disable igmp snooping vlan "vpls_service"

configure ospf routerid 192.168.200.2
enable ospf
configure ospf add vlan lpbk area 0.0.0.0 passive
configure ospf add vlan to-P1 area 0.0.0.0 link-type point-to-point
configure ospf add vlan to-PE1 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 "to-P1"
configure mpls add vlan "to-PE1"
enable mpls vlan "to-P1"
enable mpls vlan "to-PE1"
enable mpls ldp vlan "to-P1"
enable mpls ldp vlan "to-PE1"
configure mpls lsr-id 192.168.200.2
enable mpls protocol ldp
enable mpls

create vlan esrp_control_vlan_1_2
config vlan esrp_control_vlan_1_2 tag 1002
config vlan esrp_control_vlan_1_2 add ports 1,2 tagged
create esrp esrp_domain_1_2 type vpls-redundancy
configure esrp esrp_domain_1_2 domain-id 4096
configure esrp esrp_domain_1_2 add master esrp_control_vlan_1_2
enable esrp esrp_domain_1_2

create l2vpn vpls tunnel2 fec-id-type pseudo-wire 199
configure l2vpn vpls tunnel2 add service vlan vpls_service
configure l2vpn vpls tunnel2 add peer 192.168.200.3 core full-mesh
configure l2vpn vpls tunnel2 add peer 192.168.200.4 core full-mesh
disable l2vpn vpls tunnel2
configure l2vpn vpls tunnel2 redundancy esrp esrp_domain_1_2
enable l2vpn vpls tunnel2

**********************************************************************************
PE3:
debug epm enable trial-license

configure vlan default delete ports all
create vlan "lpbk"
enable loopback-mode vlan lpbk
create vlan "to-P1"
create vlan "to-PE4"
create vlan "vpls_service"
configure vlan vpls_service tag 1001
configure vlan to-P1 add ports 3 untagged
configure vlan to-PE4 add ports 2 untagged
configure vlan vpls_service add ports 1 untagged
configure vlan lpbk ipaddress 192.168.200.3 255.255.255.255
enable ipforwarding vlan lpbk
configure vlan to-P1 ipaddress 198.51.102.1 255.255.255.248
configure vlan to-PE4 ipaddress 198.51.103.1 255.255.255.248
enable ipforwarding vlan to-P1
enable ipforwarding vlan to-PE4
disable igmp snooping vlan "vpls_service"

configure ospf routerid 192.168.200.3
enable ospf
configure ospf add vlan lpbk area 0.0.0.0 passive
configure ospf add vlan to-P1 area 0.0.0.0 link-type point-to-point
configure ospf add vlan to-PE4 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 "to-P1"
configure mpls add vlan "to-PE4"
enable mpls vlan "to-P1"
enable mpls vlan "to-PE4"
enable mpls ldp vlan "to-P1"
enable mpls ldp vlan "to-PE4"
configure mpls lsr-id 192.168.200.3
enable mpls protocol ldp
enable mpls

create vlan esrp_control_vlan_3_4
config vlan esrp_control_vlan_3_4 tag 1003
config vlan esrp_control_vlan_3_4 add ports 1,2 tagged
create esrp esrp_domain_3_4 type vpls-redundancy
configure esrp esrp_domain_3_4 domain-id 4097
configure esrp esrp_domain_3_4 add master esrp_control_vlan_3_4
configure esrp esrp_domain_3_4 priority 5
enable esrp esrp_domain_3_4

create l2vpn vpls tunnel3 fec-id-type pseudo-wire 199
configure l2vpn vpls tunnel3 add service vlan vpls_service
configure l2vpn vpls tunnel3 add peer 192.168.200.1 core full-mesh
configure l2vpn vpls tunnel3 add peer 192.168.200.2 core full-mesh
disable l2vpn vpls tunnel3
configure l2vpn vpls tunnel3 redundancy esrp esrp_domain_3_4
enable l2vpn vpls tunnel3

PE4:
debug epm enable trial-license

configure vlan default delete ports all
create vlan "lpbk"
enable loopback-mode vlan lpbk
create vlan "to-P1"
create vlan "to-PE3"
create vlan "vpls_service"
configure vlan vpls_service tag 1001
configure vlan to-P1 add ports 3 untagged
configure vlan to-PE3 add ports 2 untagged
configure vlan vpls_service add ports 1 untagged
configure vlan lpbk ipaddress 192.168.200.4 255.255.255.255
enable ipforwarding vlan lpbk
configure vlan to-P1 ipaddress 198.51.102.1 255.255.255.248
configure vlan to-PE3 ipaddress 198.51.103.2 255.255.255.248
enable ipforwarding vlan to-P1
enable ipforwarding vlan to-PE3
disable igmp snooping vlan "vpls_service"

configure ospf routerid 192.168.200.4
enable ospf
configure ospf add vlan lpbk area 0.0.0.0 passive
configure ospf add vlan to-P1 area 0.0.0.0 link-type point-to-point
configure ospf add vlan to-PE3 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 "to-P1"
configure mpls add vlan "to-PE3"
enable mpls vlan "to-P1"
enable mpls vlan "to-PE3"
enable mpls ldp vlan "to-P1"
enable mpls ldp vlan "to-PE3"
configure mpls lsr-id 192.168.200.4
enable mpls protocol ldp
enable mpls

create vlan esrp_control_vlan_3_4
config vlan esrp_control_vlan_3_4 tag 1003
config vlan esrp_control_vlan_3_4 add ports 1,2 tagged
create esrp esrp_domain_3_4 type vpls-redundancy
configure esrp esrp_domain_3_4 domain-id 4097
configure esrp esrp_domain_3_4 add master esrp_control_vlan_3_4
enable esrp esrp_domain_3_4

create l2vpn vpls tunnel4 fec-id-type pseudo-wire 199
configure l2vpn vpls tunnel4 add service vlan vpls_service
configure l2vpn vpls tunnel4 add peer 192.168.200.1 core full-mesh
configure l2vpn vpls tunnel4 add peer 192.168.200.2 core full-mesh
disable l2vpn vpls tunnel4
configure l2vpn vpls tunnel4 redundancy esrp esrp_domain_3_4
enable l2vpn vpls tunnel4

****************************************************************************************
P1:
debug epm enable trial-license

configure vlan default delete ports all
create vlan "lpbk"
enable loopback-mode vlan lpbk
create vlan "to-PE_1_2"
create vlan "to-PE_3_4"
configure vlan to-PE_1_2 add ports 1 untagged
configure vlan to-PE_3_4 add ports 2 untagged
configure vlan lpbk ipaddress 192.168.200.5 255.255.255.255
enable ipforwarding vlan lpbk
configure vlan to-PE_1_2 ipaddress 198.51.100.3 255.255.255.248
configure vlan to-PE_3_4 ipaddress 198.51.102.3 255.255.255.248
enable ipforwarding vlan to-PE_1_2
enable ipforwarding vlan to-PE_3_4

configure ospf routerid 192.168.200.5
enable ospf
configure ospf add vlan lpbk area 0.0.0.0 passive
configure ospf add vlan to-PE_1_2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan to-PE_3_4 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 "to-PE_1_2"
configure mpls add vlan "to-PE_3_4"
enable mpls vlan "to-PE_1_2"
enable mpls vlan "to-PE_3_4"
enable mpls ldp vlan "to-PE_1_2"
enable mpls ldp vlan "to-PE_3_4"
configure mpls lsr-id 192.168.200.5
enable mpls protocol ldp
enable mpls

All the vSwitches are configured to allow all the VLANs and promiscuous is on:


If I type a show esrp on the two couples of PE devices, nobody is the master, the mac of the master is not learned as you may see below:
PE1-PE2:

PE3-PE4:

Let me know if you need more screenshots.
Photo of Antonio Opromolla

Antonio Opromolla

  • 2,216 Points 2k badge 2x thumb
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:
Photo of Henrique

Henrique, Employee

  • 10,342 Points 10k badge 2x thumb
Hi Antonio,

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

Henrique, Employee

  • 10,342 Points 10k badge 2x thumb
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
Photo of Antonio Opromolla

Antonio Opromolla

  • 2,216 Points 2k badge 2x thumb
Hi Henrique, tomorrow morning I'll do as you suggest and give you a feedback.
Photo of Grosjean, Stephane

Grosjean, Stephane, Employee

  • 13,676 Points 10k badge 2x thumb
I didn't read the whole thread, but you have to be aware that there's no software data plane for VPLS for the VM. This means you can setup VPLS (control plane works), but not transmit traffic on it (a ping for example).
Photo of Henrique

Henrique, Employee

  • 10,342 Points 10k badge 2x thumb
Hi Antonio, please consider the following diagram/IPs and configuration to your EXOS-VM lab:



P:

configure snmp sysName "SW3-P"configure vlan default delete ports all
create vlan "lpbk"
enable loopback-mode vlan lpbk
create vlan "to-pe1"
create vlan "to-pe2"
create vlan "to-pe3"
create vlan "to-pe4"
configure vlan to-pe1 add ports 1 untagged  
configure vlan to-pe2 add ports 2 untagged  
configure vlan to-pe3 add ports 3 untagged  
configure vlan to-pe4 add ports 4 untagged  
configure vlan lpbk ipaddress 192.168.200.5 255.255.255.255
enable ipforwarding vlan lpbk
configure vlan to-pe1 ipaddress 198.51.100.2 255.255.255.252
enable ipforwarding vlan to-pe1
configure vlan to-pe3 ipaddress 198.51.100.10 255.255.255.252
enable ipforwarding vlan to-pe3
configure vlan to-pe2 ipaddress 198.51.100.6 255.255.255.252
enable ipforwarding vlan to-pe2
configure vlan to-pe4 ipaddress 198.51.100.14 255.255.255.252
enable ipforwarding vlan to-pe4

#
# Module mpls configuration.
#
configure mpls add vlan "lpbk"
enable mpls vlan "lpbk"
enable mpls ldp vlan "lpbk"
configure mpls add vlan "to-pe1"
enable mpls vlan "to-pe1"
enable mpls ldp vlan "to-pe1"
configure mpls add vlan "to-pe2"
enable mpls vlan "to-pe2"
enable mpls ldp vlan "to-pe2"
configure mpls add vlan "to-pe3"
enable mpls vlan "to-pe3"
enable mpls ldp vlan "to-pe3"
configure mpls add vlan "to-pe4"
enable mpls vlan "to-pe4"
enable mpls ldp vlan "to-pe4"
configure mpls lsr-id 192.168.200.5
enable mpls protocol ldp
enable mpls

#
# Module ospf configuration.
#
configure ospf routerid 192.168.200.5
enable ospf
configure ospf add vlan lpbk area 0.0.0.0 passive
configure ospf add vlan to-pe1 area 0.0.0.0 link-type point-to-point 
configure ospf add vlan to-pe2 area 0.0.0.0 link-type point-to-point 
configure ospf add vlan to-pe3 area 0.0.0.0 link-type point-to-point 
configure ospf add vlan to-pe4 area 0.0.0.0 link-type point-to-point 

PE1:

configure snmp sysName "SW1-PE1"configure vlan default delete ports all
create vlan "esrp_control_vlan_1_2"
configure vlan esrp_control_vlan_1_2 tag 1002
create vlan "lpbk"
enable loopback-mode vlan lpbk
create vlan "to-P1"
create vlan "to-PE2"
create vlan "vpls_service"
configure vlan vpls_service tag 1001
configure vlan esrp_control_vlan_1_2 add ports 1-2 tagged  
configure vlan to-P1 add ports 3 untagged  
configure vlan to-PE2 add ports 2 untagged  
configure vlan vpls_service add ports 1 untagged  
configure vlan lpbk ipaddress 192.168.200.1 255.255.255.255
enable ipforwarding vlan lpbk
configure vlan to-P1 ipaddress 198.51.100.1 255.255.255.252
enable ipforwarding vlan to-P1
configure vlan to-PE2 ipaddress 198.51.101.1 255.255.255.252
enable ipforwarding vlan to-PE2
disable igmp snooping vlan "vpls_service"

#
# Module esrp configuration.
#
create esrp esrp_domain_1_2 type vpls-redundancy
configure esrp esrp_domain_1_2 domain-id 4096
configure esrp esrp_domain_1_2 priority 5
configure esrp esrp_domain_1_2 add master esrp_control_vlan_1_2
enable esrp esrp_domain_1_2

#
# Module mpls configuration.
#
configure mpls add vlan "lpbk"
enable mpls vlan "lpbk"
enable mpls ldp vlan "lpbk"
configure mpls add vlan "to-P1"
enable mpls vlan "to-P1"
enable mpls ldp vlan "to-P1"
configure mpls add vlan "to-PE2"
enable mpls vlan "to-PE2"
enable mpls ldp vlan "to-PE2"
configure mpls lsr-id 192.168.200.1
enable mpls protocol ldp
enable mpls
create l2vpn vpls tunnel1 fec-id-type pseudo-wire 199
configure l2vpn vpls tunnel1 redundancy esrp esrp_domain_1_2
configure l2vpn vpls tunnel1 add service vlan vpls_service
configure l2vpn vpls tunnel1 add peer 192.168.200.4 core full-mesh
configure l2vpn vpls tunnel1 add peer 192.168.200.3 core full-mesh

#
# Module ospf configuration.
#
configure ospf routerid 192.168.200.1
enable ospf
configure ospf add vlan lpbk area 0.0.0.0 passive
configure ospf add vlan to-P1 area 0.0.0.0 link-type point-to-point 
configure ospf add vlan to-PE2 area 0.0.0.0 link-type point-to-point 

PE2:

configure snmp sysName "SW2-PE2"configure vlan default delete ports all
create vlan "esrp_control_vlan_1_2"
configure vlan esrp_control_vlan_1_2 tag 1002
create vlan "lpbk"
enable loopback-mode vlan lpbk
create vlan "to-P1"
create vlan "to-PE1"
create vlan "vpls_service"
configure vlan vpls_service tag 1001
configure vlan esrp_control_vlan_1_2 add ports 1-2 tagged  
configure vlan to-P1 add ports 3 untagged  
configure vlan to-PE1 add ports 2 untagged  
configure vlan vpls_service add ports 1 untagged  
configure vlan lpbk ipaddress 192.168.200.2 255.255.255.255
enable ipforwarding vlan lpbk
configure vlan to-P1 ipaddress 198.51.100.5 255.255.255.252
enable ipforwarding vlan to-P1
configure vlan to-PE1 ipaddress 198.51.101.2 255.255.255.252
enable ipforwarding vlan to-PE1
disable igmp snooping vlan "vpls_service"

#
# Module esrp configuration.
#
create esrp esrp_domain_1_2 type vpls-redundancy
configure esrp esrp_domain_1_2 domain-id 4096
configure esrp esrp_domain_1_2 add master esrp_control_vlan_1_2
enable esrp esrp_domain_1_2

#
# Module mpls configuration.
#
configure mpls add vlan "lpbk"
enable mpls vlan "lpbk"
enable mpls ldp vlan "lpbk"
configure mpls add vlan "to-P1"
enable mpls vlan "to-P1"
enable mpls ldp vlan "to-P1"
configure mpls add vlan "to-PE1"
enable mpls vlan "to-PE1"
enable mpls ldp vlan "to-PE1"
configure mpls lsr-id 192.168.200.2
enable mpls protocol ldp
enable mpls
create l2vpn vpls tunnel2 fec-id-type pseudo-wire 199
configure l2vpn vpls tunnel2 redundancy esrp esrp_domain_1_2
configure l2vpn vpls tunnel2 add service vlan vpls_service
configure l2vpn vpls tunnel2 add peer 192.168.200.4 core full-mesh
configure l2vpn vpls tunnel2 add peer 192.168.200.3 core full-mesh

#
# Module ospf configuration.
#
configure ospf routerid 192.168.200.2
enable ospf
configure ospf add vlan lpbk area 0.0.0.0 passive
configure ospf add vlan to-P1 area 0.0.0.0 link-type point-to-point 
configure ospf add vlan to-PE1 area 0.0.0.0 link-type point-to-point

PE3:

configure snmp sysName "SW4-PE3"configure vlan default delete ports all
create vlan "esrp_control_vlan_3_4"
configure vlan esrp_control_vlan_3_4 tag 1003
create vlan "lpbk"
enable loopback-mode vlan lpbk
create vlan "to-P1"
create vlan "to-PE4"
create vlan "vpls_service"
configure vlan vpls_service tag 1001
configure vlan esrp_control_vlan_3_4 add ports 1-2 tagged  
configure vlan to-P1 add ports 3 untagged  
configure vlan to-PE4 add ports 2 untagged  
configure vlan vpls_service add ports 1 untagged  
configure vlan lpbk ipaddress 192.168.200.3 255.255.255.255
enable ipforwarding vlan lpbk
configure vlan to-P1 ipaddress 198.51.100.9 255.255.255.252
enable ipforwarding vlan to-P1
configure vlan to-PE4 ipaddress 198.51.101.5 255.255.255.252
enable ipforwarding vlan to-PE4
disable igmp snooping vlan "vpls_service"

#
# Module esrp configuration.
#
create esrp esrp_domain_3_4 type vpls-redundancy
configure esrp esrp_domain_3_4 domain-id 4097
configure esrp esrp_domain_3_4 priority 5
configure esrp esrp_domain_3_4 add master esrp_control_vlan_3_4
enable esrp esrp_domain_3_4

#
# Module mpls configuration.
#
configure mpls add vlan "lpbk"
enable mpls vlan "lpbk"
enable mpls ldp vlan "lpbk"
configure mpls add vlan "to-P1"
enable mpls vlan "to-P1"
enable mpls ldp vlan "to-P1"
configure mpls add vlan "to-PE4"
enable mpls vlan "to-PE4"
enable mpls ldp vlan "to-PE4"
configure mpls lsr-id 192.168.200.3
enable mpls protocol ldp
enable mpls
create l2vpn vpls tunnel3 fec-id-type pseudo-wire 199
configure l2vpn vpls tunnel3 redundancy esrp esrp_domain_3_4
configure l2vpn vpls tunnel3 add service vlan vpls_service
configure l2vpn vpls tunnel3 add peer 192.168.200.2 core full-mesh
configure l2vpn vpls tunnel3 add peer 192.168.200.1 core full-mesh

#
# Module ospf configuration.
#
configure ospf routerid 192.168.200.3
enable ospf
configure ospf add vlan lpbk area 0.0.0.0 passive
configure ospf add vlan to-P1 area 0.0.0.0 link-type point-to-point 
configure ospf add vlan to-PE4 area 0.0.0.0 link-type point-to-point 

PE4:

configure snmp sysName "SW5-PE4"configure vlan default delete ports all
create vlan "esrp_control_vlan_3_4"
configure vlan esrp_control_vlan_3_4 tag 1003
create vlan "lpbk"
enable loopback-mode vlan lpbk
create vlan "to-P1"
create vlan "to-PE3"
create vlan "vpls_service"
configure vlan vpls_service tag 1001
configure vlan esrp_control_vlan_3_4 add ports 1-2 tagged  
configure vlan to-P1 add ports 3 untagged  
configure vlan to-PE3 add ports 2 untagged  
configure vlan vpls_service add ports 1 untagged  
configure vlan lpbk ipaddress 192.168.200.4 255.255.255.255
enable ipforwarding vlan lpbk
configure vlan to-P1 ipaddress 198.51.100.13 255.255.255.252
enable ipforwarding vlan to-P1
configure vlan to-PE3 ipaddress 198.51.101.6 255.255.255.252
enable ipforwarding vlan to-PE3
disable igmp snooping vlan "vpls_service"

#
# Module esrp configuration.
#
create esrp esrp_domain_3_4 type vpls-redundancy
configure esrp esrp_domain_3_4 domain-id 4097
configure esrp esrp_domain_3_4 add master esrp_control_vlan_3_4
enable esrp esrp_domain_3_4

#
# Module mpls configuration.
#
configure mpls add vlan "lpbk"
enable mpls vlan "lpbk"
enable mpls ldp vlan "lpbk"
configure mpls add vlan "to-P1"
enable mpls vlan "to-P1"
enable mpls ldp vlan "to-P1"
configure mpls add vlan "to-PE3"
enable mpls vlan "to-PE3"
enable mpls ldp vlan "to-PE3"
configure mpls lsr-id 192.168.200.4
enable mpls protocol ldp
enable mpls
create l2vpn vpls tunnel4 fec-id-type pseudo-wire 199
configure l2vpn vpls tunnel4 redundancy esrp esrp_domain_3_4
configure l2vpn vpls tunnel4 add service vlan vpls_service
configure l2vpn vpls tunnel4 add peer 192.168.200.2 core full-mesh
configure l2vpn vpls tunnel4 add peer 192.168.200.1 core full-mesh

#
# Module ospf configuration.
#
configure ospf routerid 192.168.200.4
enable ospf
configure ospf add vlan lpbk area 0.0.0.0 passive
configure ospf add vlan to-P1 area 0.0.0.0 link-type point-to-point 
configure ospf add vlan to-PE3 area 0.0.0.0 link-type point-to-point 

Results:

  • PE1 and PE3 = ESRP Master
  • PE2 and PE4 = ESRP Slave
  • VPLS PW active between PE1 and PE3 as follows:
PE1:



PE3:


Photo of Antonio Opromolla

Antonio Opromolla

  • 2,216 Points 2k badge 2x thumb
Thanks Henrique for your quick answer and solution.
Antonio
Photo of Antonio Opromolla

Antonio Opromolla

  • 2,216 Points 2k badge 2x thumb
HI Henrique, I've made the changes on my vmware environment and now all is working well. Thanks again for your help.
Photo of Antonio Opromolla

Antonio Opromolla

  • 2,216 Points 2k badge 2x thumb
Hi Henrique, I try to create also a lab with the example that is descripted on page 1205 of the XOS user guide 21.1.1, where in this case instead of ldp mpls is configured with rsvp-te signalling.
The schema is the following:

and the configurations of the switches are:

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

#
# 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

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

#
# 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

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"

#
# 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 "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

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
configure mpls rsvp-te path Glasgow-Birmingham-sec-path add ero 5.0.0.0/32 loose

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

configure vpls Glasgow-Birmingham-Oxford-Uni peer 4.0.0.0 add mpls lsp Glasgow-Birmingham-lsp

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"

#
# Module mpls configuration.
#
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

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
configure mpls rsvp-te path Birmingham-Glasgow-sec-path add ero 5.0.0.0/32 loose

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

configure vpls Glasgow-Birmingham-Oxford-Uni peer 2.0.0.0 add mpls lsp Birmingham-Glasgow-lsp

Oxford-Glasgow (mgmt: 192.168.10.158):

configure snmp sysName "Oxford-Glasgow"
configure vlan default delete ports all
create vlan "vpls_service"
configure vlan vpls_service tag 1001
configure vlan vpls_service add ports all untagged
configure vlan vpls_service ipaddress 192.168.150.1/24
disable igmp snooping vlan "vpls_service"

Oxford-Birmingham (mgmt: 192.168.10.159):

configure snmp sysName "Oxford-Birmingham"
configure vlan default delete ports all
create vlan "vpls_service"
configure vlan vpls_service tag 1001
configure vlan vpls_service add ports all untagged
configure vlan vpls_service ipaddress 192.168.150.2/24
disable igmp snooping vlan "vpls_service"

But in this configuration there are errors because doesn't work.
The first consideration is that on the virtual XOS I have the follow message: at the end of the configuration:

and the option max-gateways is not present on the virtual XOS:

On Glasgow I have:

On Birmingham:


Are you able to run a such Lab on your GNS3 environment?

Thanks
Photo of Antonio Opromolla

Antonio Opromolla

  • 2,216 Points 2k badge 2x thumb
I add the followinf two screenshots where the error message is a "Route error"....maybe some mistake in the routing configuration...

Photo of Henrique

Henrique, Employee

  • 10,342 Points 10k badge 2x thumb
Hi Antonio,

LSP sharing + max-gateways commands are not available in VM. The max-gateways setting changes how the HW is configured for multi-path and there is no EXOS VM emulation for that.

Since that's not mandatory (LSP Sharing) I believe you can get this lab working in EXOS VM environment (just remember that no traffic from CE will ingress the tunnel, however you can ping between PEs using the service vlan IP, if configured).

Is there any active (link-up) port in the service vlan "vpls_service"? That might explain the "Down" state for the PW
Photo of Antonio Opromolla

Antonio Opromolla

  • 2,216 Points 2k badge 2x thumb
Hi Henrique, on both Glasgow and Birmingham, the vpls_service VLAN has 1 port and the status is active:

Photo of Henrique

Henrique, Employee

  • 10,342 Points 10k badge 2x thumb
Can you please send a "show iproute" output?

I believe that you should enable ldp protocol for all MPLS devices even if using RSVP-TE as follows:

enable mpls protocol ldp
Photo of Antonio Opromolla

Antonio Opromolla

  • 2,216 Points 2k badge 2x thumb
I've typed the enable command on all the MPLS devices but the show vpls command says that the status is still down:


The show iproute on the devices are:



Photo of Henrique

Henrique, Employee

  • 10,342 Points 10k badge 2x thumb
I will load that configuration in my EXOS VM lab and see how it goes.
Photo of Henrique

Henrique, Employee

  • 10,342 Points 10k badge 2x thumb
Hi Antonio, please config and enable ospf for point-to-point and loopback vlans on all switches.

Another option would be adding static routes to reach PEs loopback addresses. However, it's recommended to enable an IGP (OSPF in this case) specially when configuring Traffic Engineering.
Photo of Antonio Opromolla

Antonio Opromolla

  • 2,216 Points 2k badge 2x thumb
Hi Henrique, I've enabled ospf on every MPLS switch.
For example for Glasgow I've added to the previous configuration the following lines:
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

Now the routes on Glasgow are :



But despite this the l2vpn is still down
:
Photo of Antonio Opromolla

Antonio Opromolla

  • 2,216 Points 2k badge 2x thumb
Checking the configuration I've found that I've forget to add the vpls_service vlan to l2vpn service ...so, on Glasgow and Birmingham I've added the following line in the configuration:
configure l2vpn vpls Glasgow-Birmingham-Oxford-Uni add service vlan vpls_service

Now the l2vpn is in signal state on both Glasgow and Birmingham, so there is still another mistake somewhere in my config:


Photo of Henrique

Henrique, Employee

  • 10,342 Points 10k badge 2x thumb
Hi Antonio, 

Please unconfigure the profile for lsp on both Glasgow and Birmingham switches as follows:

For Glasgow switch:

configure mpls rsvp-te lsp "Glasgow-Birmingham-lsp" delete path all
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

For Birmingham switch:

configure mpls rsvp-te lsp "Birmingham-Glasgow-lsp" delete path all
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

I'm not sure why it's not working with the profile configuration. Need more time to figure it out.

Also make sure to have "enable mpls protocol ldp" on all switches and link-up for vpls_service vlan port.