VPLS Not working over MPLS

  • 26 February 2016
  • 40 replies
  • 1113 views

Userlevel 1
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"


40 replies

Userlevel 7
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.
Userlevel 6
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.
Userlevel 1
Ok. thanks for the information Stephane and Henrique. Is there a time frame for when VPLS fucntionality will be added to the EXOS VM?
Userlevel 3
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
Userlevel 6
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.
Userlevel 3
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:

Userlevel 6
Hi Antonio,

Could you please confirm if "vpls_service" vlan port 1 is UP (Link-up) for all 4 PE's?
Userlevel 6
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
Userlevel 3
Hi Henrique, tomorrow morning I'll do as you suggest and give you a feedback.
Userlevel 7
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).
Userlevel 6
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:


Userlevel 3
Thanks Henrique for your quick answer and solution.
Antonio
Userlevel 3
HI Henrique, I've made the changes on my vmware environment and now all is working well. Thanks again for your help.
Userlevel 3
I add the followinf two screenshots where the error message is a "Route error"....maybe some mistake in the routing configuration...

Userlevel 6
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
Userlevel 3
Hi Henrique, on both Glasgow and Birmingham, the vpls_service VLAN has 1 port and the status is active:

Userlevel 6
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
Userlevel 3
I've typed the enable command on all the MPLS devices but the show vpls command says that the status is still down:

Userlevel 6
I will load that configuration in my EXOS VM lab and see how it goes.
Userlevel 6
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.
Userlevel 3
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 :

Userlevel 3
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:

Userlevel 6
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.
Userlevel 6
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.
Userlevel 3
Ok Henrique, thanks. Have a happy week-end

Reply