VPLS Not working over MPLS

  • 26 February 2016
  • 40 replies
  • 1115 views


Show first post

40 replies

Userlevel 3
Below my latest conf.

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

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

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

Liverpool (mgmt: 192.168.10.154):

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

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

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

Glasgow (mgmt: 192.168.10.155):

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

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

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

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

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

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

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

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

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

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

Birmingham (mgmt: 192.168.10.156):

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

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

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

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

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

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

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

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

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

With this conf the l2vpn tunnel is up, and if I ping between glasgow and birmingham (in both direction) works, but only if the primary path is up, despite the fact that the config is perfectly symmetric (if I power off London router on the primary path, the ping stop and don't flow throught the secondary path)....
Userlevel 3
Hi Henrique, have you had the chance to test my latest conf on HW switches?
Userlevel 3
Hi Henrique, I've had time to do some more tests on my demo environment and the switch between the lsp primary path and the lsp secondary path works correctly...... Remain only the problem when I use a profile for see if the problem is the fact that I'm using the virtual XOS or if there is a configuration problem.
Userlevel 6
Hi Antonio, sorry for the delay in my response.

I will be traveling this week and will be available to test it on Friday June 3rd.

Will update this post as soon as I finish those tests.
Userlevel 6
Hi Antonio, I have just tested this scenario in my lab and got same results even using physical switches.

The issue occurs when adding profile to MPLS LSP.

I will review some other docs and update this post.
Userlevel 3
Thanks Henrique for the update, I'll wait for your news.
Userlevel 6
Hi Antonio, I could narrow down the issue to the command below:

configure mpls rsvp-te profile bandwidth committed-rate 10 Mbps

if you set the committed-rate to default value (zero) the communication works:

configure mpls rsvp-te profile bandwidth committed-rate 0 Mbps

I'm trying to get more insight from our engineering so I can update you accordingly.
Userlevel 3
Thnaks Henrique for this update (strange issue this).
Userlevel 6
Hi Antonio, I have performed many BW combinations and would like to share the needs to get the VPLS up and running when using BW reservation:

When configuring BW for the vlan you are configuring the max BW (CIR) that the profile BW can be configured. That configuration must be performed on all units in the path.

In this example we have 10M BW reservation for profile and 20M configured to the vlans. That means you have have up to 20M BW reservation for the profile. If you configure more than 20M the LSP won't go up and VPLS will remain down.

To have the lab working you should configure the following parameters:

London device:

configure mpls rsvp-te bandwidth committed-rate 20000 Kbps vlan "Birmingham-London"
configure mpls rsvp-te bandwidth committed-rate 20000 Kbps vlan "Glasgow-London"

Liverpool device:

configure mpls rsvp-te bandwidth committed-rate 20000 Kbps vlan "Birmingham-Liverpool"
configure mpls rsvp-te bandwidth committed-rate 20000 Kbps vlan "Glasgow-Liverpool"

After changing the BW parameter you have to restart the RSVP-TE LSP:

disable mpls rsvp-te lsp "Glasgow-Birmingham-lsp"
enable mpls rsvp-te lsp "Glasgow-Birmingham-lsp"

You can check the LSP status with the command below:

show mpls rsvp-te lsp

PS: It's was related to the configuration needs and not an issue. Therefore you can keep 10M configured in the profile.
Userlevel 3
Hi Antonio, I have performed many BW combinations and would like to share the needs to get the VPLS up and running when using BW reservation:

When configuring BW for the vlan you are configuring the max BW (CIR) that the profile BW can be configured. That configuration must be performed on all units in the path.

In this example we have 10M BW reservation for profile and 20M configured to the vlans. That means you have have up to 20M BW reservation for the profile. If you configure more than 20M the LSP won't go up and VPLS will remain down.

To have the lab working you should configure the following parameters:

London device:

configure mpls rsvp-te bandwidth committed-rate 20000 Kbps vlan "Birmingham-London"
configure mpls rsvp-te bandwidth committed-rate 20000 Kbps vlan "Glasgow-London"

Liverpool device:

configure mpls rsvp-te bandwidth committed-rate 20000 Kbps vlan "Birmingham-Liverpool"
configure mpls rsvp-te bandwidth committed-rate 20000 Kbps vlan "Glasgow-Liverpool"

After changing the BW parameter you have to restart the RSVP-TE LSP:

disable mpls rsvp-te lsp "Glasgow-Birmingham-lsp"
enable mpls rsvp-te lsp "Glasgow-Birmingham-lsp"

You can check the LSP status with the command below:

show mpls rsvp-te lsp

PS: It's was related to the configuration needs and not an issue. Therefore you can keep 10M configured in the profile.
Thanks Henrique for these details. I'll try in the next days in my virtual lab this conf.
Userlevel 3
Hi Antonio, I have performed many BW combinations and would like to share the needs to get the VPLS up and running when using BW reservation:

When configuring BW for the vlan you are configuring the max BW (CIR) that the profile BW can be configured. That configuration must be performed on all units in the path.

In this example we have 10M BW reservation for profile and 20M configured to the vlans. That means you have have up to 20M BW reservation for the profile. If you configure more than 20M the LSP won't go up and VPLS will remain down.

To have the lab working you should configure the following parameters:

London device:

configure mpls rsvp-te bandwidth committed-rate 20000 Kbps vlan "Birmingham-London"
configure mpls rsvp-te bandwidth committed-rate 20000 Kbps vlan "Glasgow-London"

Liverpool device:

configure mpls rsvp-te bandwidth committed-rate 20000 Kbps vlan "Birmingham-Liverpool"
configure mpls rsvp-te bandwidth committed-rate 20000 Kbps vlan "Glasgow-Liverpool"

After changing the BW parameter you have to restart the RSVP-TE LSP:

disable mpls rsvp-te lsp "Glasgow-Birmingham-lsp"
enable mpls rsvp-te lsp "Glasgow-Birmingham-lsp"

You can check the LSP status with the command below:

show mpls rsvp-te lsp

PS: It's was related to the configuration needs and not an issue. Therefore you can keep 10M configured in the profile.
Hi Henrique, I confirm you that with your suggested changes to the configuration, now also in my virtual lab, the configuration with the profile works well. Thanks for all your help.
Userlevel 6
Hi Antonio, I have performed many BW combinations and would like to share the needs to get the VPLS up and running when using BW reservation:

When configuring BW for the vlan you are configuring the max BW (CIR) that the profile BW can be configured. That configuration must be performed on all units in the path.

In this example we have 10M BW reservation for profile and 20M configured to the vlans. That means you have have up to 20M BW reservation for the profile. If you configure more than 20M the LSP won't go up and VPLS will remain down.

To have the lab working you should configure the following parameters:

London device:

configure mpls rsvp-te bandwidth committed-rate 20000 Kbps vlan "Birmingham-London"
configure mpls rsvp-te bandwidth committed-rate 20000 Kbps vlan "Glasgow-London"

Liverpool device:

configure mpls rsvp-te bandwidth committed-rate 20000 Kbps vlan "Birmingham-Liverpool"
configure mpls rsvp-te bandwidth committed-rate 20000 Kbps vlan "Glasgow-Liverpool"

After changing the BW parameter you have to restart the RSVP-TE LSP:

disable mpls rsvp-te lsp "Glasgow-Birmingham-lsp"
enable mpls rsvp-te lsp "Glasgow-Birmingham-lsp"

You can check the LSP status with the command below:

show mpls rsvp-te lsp

PS: It's was related to the configuration needs and not an issue. Therefore you can keep 10M configured in the profile.
Hi Antonio, thanks for the update.

I'm glad to help.

Reply