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 made the changes on my vmware environment and now all is working well. Thanks again for your help.

Antonio_Opromol
Contributor II
Thanks Henrique for your quick answer and solution.
Antonio

Henrique
Extreme Employee
Hi Antonio, please consider the following diagram/IPs and configuration to your EXOS-VM lab:

d43249372e384b5ba78f23b33ef2bd76_RackMultipart20160510-26747-1x3kh6c-VPLS_ESRP-EXOSVM_inline.png



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:

d43249372e384b5ba78f23b33ef2bd76_RackMultipart20160510-70397-1hoy7dm-VPLS_ESRP-EXOSVM-PE1_inline.png



PE3:

d43249372e384b5ba78f23b33ef2bd76_RackMultipart20160510-32176-zqx5me-VPLS_ESRP-EXOSVM-PE3_inline.png


Stephane_Grosj1
Extreme Employee
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).

Antonio_Opromol
Contributor II
Hi Henrique, tomorrow morning I'll do as you suggest and give you a feedback.
GTM-P2G8KFN