MPLS+ECMP

maximo170
Member
Posts: 2
Joined: 02 Jul 2012 07:31

Re: MPLS+ECMP

Post by maximo170 »

dear agungaryo,

what version of your TimOS ? TiMOS-C-6.1.R10
that 2 port , is that LAG or two network port ? two network port
is there a LSR between PE ? yesh
are you using just one service ? yeah, vprn

see details below;


Architecture;

R1=======R2. two point-to-point links between R1 and R2. I have attached architecture



Configs;

R1
# TiMOS-C-6.1.R10 cpm/hops ALCATEL SR 7750 Copyright (c) 2000-2009 Alcatel-Lucent.
# All rights reserved. All use subject to applicable license agreements.
# Built on Tue Jul 21 12:09:30 PDT 2009 by builder in /rel6.1/b1/R10/panos/main

# Generated MON FEB 14 15:23:03 2011 UTC

port 4/1/1
sonet-sdh
path
no shutdown
exit
exit
no shutdown
exit
port 4/1/2
sonet-sdh
path
no shutdown
exit
exit
no shutdown
exit

#--------------------------------------------------
echo "Router (Network Side) Configuration"
#--------------------------------------------------
router

interface "0001"
address 10.98.11.9/30
port 4/1/2
exit
interface "0002 »
address 10.98.22.1/30
port 4/1/1
exit
interface "system"
address 10.98.10.1/32
exit
autonomous-system 37148
ecmp 2
router-id 10.98.10.1
#--------------------------------------------------
echo "ISIS Configuration"
#--------------------------------------------------

isis
level-capability level-2
area-id 49.0234
lsp-lifetime 65535
traffic-engineering
spf-wait 2 50 100
lsp-wait 8 0 1
level 1
wide-metrics-only
exit
level 2
wide-metrics-only
exit
interface "system"
level-capability level-2
exit

interface "0001"
level-capability level-2
interface-type point-to-point
level 2
hello-interval 10
metric 30
exit
exit

interface "0002"
level-capability level-2
interface-type point-to-point
level 2
hello-interval 10
metric 30
exit
exit

#--------------------------------------------------
echo "MPLS Configuration"
#--------------------------------------------------
mpls
interface "system"
exit
interface "0001"
exit
interface "0002"
exit

path "dyn"
no shutdown
exit

lsp "London01"
to 10.98.10.3
cspf
adspec
fast-reroute facility
exit
retry-timer 3
primary "dyn"
exit
no shutdown
exit

#--------------------------------------------------
echo "RSVP Configuration"
#--------------------------------------------------
rsvp
interface "system"
exit
interface "0001"
hello-interval 10000
exit
interface "0002"
hello-interval 10000
exit
no shutdown
exit

#--------------------------------------------------
echo "LDP Configuration"
#--------------------------------------------------
ldp
interface-parameters
interface "0001"
exit
interface "0002"
exit
exit
targeted-session
exit
exit
exit


#--------------------------------------------------
echo "Service Configuration"
#--------------------------------------------------
service
customer 1 create
description "Default customer"
exit
sdp 3 mpls create
far-end 10.98.10.3
lsp "London01"
keep-alive
shutdown
exit
no shutdown
exit


vprn 10 customer 1 create
description "INTERNET VPN"
autonomous-system 37148
route-distinguisher 37148:1001001
auto-bind ldp
vrf-target target:37148:10
interface " Internert-1" create
address 195.59.8.62/30
sap 3/2/1 create
exit
exit
interface "ALPHB_Internet" create
address 41.203.88.241/29
sap 1/1/2:30 create
exit
exit
bgp
group "EBGP"
description "UPSTREAM"
neighbor 195.59.8.61
local-address 195.59.8.62
local-as 37148
peer-as 1273
exit
exit
exit
no shutdown
exit

#--------------------------------------------------
echo "BGP Configuration"
#--------------------------------------------------
bgp
enable-peer-tracking
group "Internal"
family vpn-ipv4
type internal
neighbor 10.98.10.3
exit
exit
exit
exit



R2

# TiMOS-C-6.1.R10 cpm/hops ALCATEL SR 7750 Copyright (c) 2000-2009 Alcatel-Lucent.
# All rights reserved. All use subject to applicable license agreements.
# Built on Tue Jul 21 12:09:30 PDT 2009 by builder in /rel6.1/b1/R10/panos/main

# Generated MON FEB 14 15:23:03 2011 UTC

port 5/2/1
sonet-sdh
path
no shutdown
exit
exit
no shutdown
exit
port 5/2/2
sonet-sdh
path
no shutdown
exit
exit
no shutdown
exit

#--------------------------------------------------
echo "Router (Network Side) Configuration"
#--------------------------------------------------
router

interface "0001"
address 10.98.11.10/30
port 5/2/2
exit
interface "0002”
address 10.98.22.2/30
port 5/2/1
exit
interface "system"
address 10.98.10.3/32
exit
autonomous-system 37148
ecmp 2
router-id 10.98.10.3
#--------------------------------------------------
echo "ISIS Configuration"
#--------------------------------------------------

isis
area-id 49.0234
lsp-lifetime 65535
traffic-engineering
spf-wait 2 50 100
lsp-wait 8 0 1
level 1
wide-metrics-only
exit
level 2
wide-metrics-only
exit
interface "system"
level-capability level-2
exit

interface "0001"
level-capability level-2
interface-type point-to-point
level 2
hello-interval 10
metric 30
exit
exit

interface "0002"
level-capability level-2
interface-type point-to-point
level 2
hello-interval 10
metric 30
exit
exit

#--------------------------------------------------
echo "MPLS Configuration"
#--------------------------------------------------
Mpls
resignal-timer 30
interface "system"
exit
interface "0001"
exit
interface "0002"
exit

path "dyn"
no shutdown
exit

lsp "Lagos01"
to 10.98.10.1
cspf
adspec
fast-reroute facility
exit
retry-timer 3
primary "dyn"
exit
no shutdown
exit

#--------------------------------------------------
echo "RSVP Configuration"
#--------------------------------------------------
rsvp
interface "system"
exit
interface "0001"
hello-interval 10000
exit
interface "0002"
hello-interval 10000
exit
no shutdown
exit

#--------------------------------------------------
echo "LDP Configuration"
#--------------------------------------------------
ldp
interface-parameters
interface "0001"
exit
interface "0002"
exit
exit
targeted-session
exit
exit
exit


#--------------------------------------------------
echo "Service Configuration"
#--------------------------------------------------
service
customer 1 create
description "Default customer"
exit
sdp 1 mpls create
far-end 10.98.10.1
lsp "Lagos01"
keep-alive
shutdown
exit
no shutdown
exit


vprn 10 customer 1 create
description "INTERNET VPN"
autonomous-system 37148
route-distinguisher 37148:3001001
auto-bind ldp
vrf-target target:37148:10
interface " Internert-2" create
address 166.63.211.234/30
icmp
no redirects
no unreachables
exit
sap 2/1/1 create
exit
exit
bgp
group "EBGP"
description "UPSTREAM"
neighbor 166.63.211.233
local-address 166.63.211.234
type external
local-as 37148
peer-as 1273
exit
exit
exit
no shutdown
exit
spoke-sdp 1 create
exit
#--------------------------------------------------
echo "BGP Configuration"
#--------------------------------------------------
bgp
enable-peer-tracking
group "Internal"
family vpn-ipv4
type internal
neighbor 10.98.10.1
exit
exit
exit
exit




I have tried the following;

1, I used strict-lsp’s on both links on both R1 and R2 but it didn’t still load balance. Itraffic was still passing thru one link.


What I intend to try next;

remove spoke-sdp 1 in VPRN 10 on R2.
remove lsp from SDP on both R1 and R2 and replace with ldp.
retain auto-bind ldp in VPRn 10 on both R1 and R2.
check load balancing.

2. Maybe try IGH on the two links on both routers to combine the capacity

Hope to hear from you.

Pls share your expert knowledge and advice.

You can also send any working configs/links you have on similar/related/exact issue.

Thanks.
arianna
Member
Posts: 1
Joined: 09 Oct 2019 11:26

Re: MPLS+ECMP

Post by arianna »

@maximo170 did you ever get this working? I'm going through the same trials/tests right now and am not sure I'm having much luck.
Stoffen
Member
Posts: 147
Joined: 23 May 2014 05:32
Location: Norway

Re: MPLS+ECMP

Post by Stoffen »

arianna wrote: 20 Oct 2021 22:46 @maximo170 did you ever get this working? I'm going through the same trials/tests right now and am not sure I'm having much luck.
Based on the above example, the SDP is not in use.
Its not bound to the VPRN, and the VPRN is auto-bind ldp, making LDP transport.

Depending of the version, you can enable lsr-load-balancing under the system context

/configure system

Code: Select all

lsr-load-balancing
Syntax 
lsr-load-balancing hashing-algorithm
no lsr-load-balancing
Context 
config>system>load-balancing
Description 
This command configures system-wide LSR load balancing. Hashing can be enabled on the IP header at an LSR for spraying labeled IP packets over multiple equal cost paths in ECMP in an LDP LSP and/or over multiple links of a LAG group in all types of LSPs.

The LSR hash routine operates on the label stack and the IP header if a packet is IPv4. An LSR will consider a packet to be IPv4 if the first nibble following the bottom of the label stack is 4. IPv6 packets are hashed on label stack only. The hash on label and IPv4 header can be enabled or disabled at the system level only.

Default 
no lsr-load-balancing

Parameters 
lbl-only— Specifies that only the label is used in the hashing algorithm
lbl-ip — Specifies that the IP header is included in the hashing algorithm
ip-only— Specifies that the IP header is used exclusively in the hashing algorithm
eth-encap-ip— Specifies that the hash algorithm parses down the label stack (up to 3 labels supported) and once it hits the bottom, the stack assumes Ethernet II non-tagged header follows. At the expected Ethertype offset location, the algorithm checks whether the value present is IPv4/v6 (0x0800 or 0x86DD). If the check passes, the hash algorithm checks the first nibble at the expected IP header location for IPv4/IPv6 (0x0100/0x0110). If the secondary check passes, the hash is performed using IP SA/DA fields in the expected IP header; if any of the checks fail, the label-stack hash is performed.
lbl-ip-l4-teid— Specifies that this hashing algorithm hashes based on label, IP header, Layer 4 header and GTP header (TEID) in order. The algorithm uses all the supported headers that are found in the header fragment of incoming traffic.
Normally, it hashes based on the label, and since all traffic between 2 sites in a VPRN uses the same transport label, all traffic will traverse the same link.
I would try initially with lbl-ip or lbl-ip-l4-teid if thats available, as this also includes layer 4 information for its hashing algorithm.
[flash=]
Christoffer

Network System Expert Norway
Nokia SRA #265
Alcatel-Lucent SRC 3RP Certified #552
Alcatel-Lucent SRC NRS-2 Certified #1104
Huawei HCNP Routing & Switching certified
Cisco CCNP Certified
LinkedIN
[/flash]
Post Reply

Return to “7750 SR”