cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
751
Views
0
Helpful
1
Replies

Sticky ECMP misusage or software bug?

danyguo30
Level 1
Level 1

We are trying to achieve the goal of persistent load-balancing with ASR9000. The network is a Data Center based on Kubernetes, where the ASR9000 works as DC gateway for all worker nodes. However, after the link fails toward one worker, the routing table is updated to remove the failed worker node whilst the forwarding table (cef) is not updated. This leads to that the ASR keeps forwarding the traffic to the failed worker node. 

 

Now I'm suspecting it is either a software bug in IOS-XR Version 6.7.3, or I have misused it on a CE/PE router (instead of a pure CE router)

 

#show running-config route-policy sticky-ecmp
route-policy sticky-ecmp
  if destination in (5.8.6.0/24 le 32) then
      set load-balance ecmp-consistent
  else
     pass
  endif
end-policy
!

...
#show cef vrf Sig_CN 5.8.6.33 detail
5.8.6.33/32, version 5467, out-of-resource, internal 0x1000001 0x0 (ptr 0x9e8df0a8) [1], 0x0 (0x0), 0x200 (0x9f889208)
Prefix Len 32, traffic index 0, precedence n/a, priority 3
gateway array (0x9e272e88) reference count 14, flags 0xa078, source rib (7), 0 backups
[1 type 4 flags 0x148441 (0x9e78fcb4) ext 0x0 (0x0)]
LW-LDI[type=0, refc=0, ptr=0x0, sh-ldi=0x0]
gateway array update type-time 1 May 18 07:28:52.607
LDI Update time May 18 07:28:52.608
via 11.1.2.1/32, 3 dependencies, recursive, bgp-ext, bgp-multipath [flags 0x60a0]
path-idx 0 NHID 0x0 [0x9e8d6de0 0x0]
next hop 11.1.2.1/32 via 11.1.2.1/32
local label 24050
next hop 11.1.2.1/32 BE6.802 labels imposed {None}
via 11.1.2.2/32, 5 dependencies, recursive, bgp-ext, bgp-multipath [flags 0x60a0]
path-idx 1 NHID 0x0 [0x9e8c1ad0 0x0]
next hop 11.1.2.2/32 via 11.1.2.2/32
local label 24050
next hop 11.1.2.2/32 BE6.802 labels imposed {None}
via 11.1.2.3/32, 5 dependencies, recursive, bgp-ext, bgp-multipath [flags 0x60a0]
path-idx 2 NHID 0x0 [0x9e8d5e60 0x0]
next hop 11.1.2.3/32 via 11.1.2.3/32
local label 24050
next hop 11.1.2.3/32 BE6.802 labels imposed {None}
...
via 11.1.2.10/32, 5 dependencies, recursive, bgp-ext, bgp-multipath [flags 0x60a0]
path-idx 7 NHID 0x0 [0x9e8d5de4 0x0]
next hop 11.1.2.10/32 via 11.1.2.10/32
local label 24050
next hop 11.1.2.10/32 BE6.802 labels imposed {None}

Load distribution (consistent): 0 1 2 3 4 5 6 7 (refcount 1)

Hash OK Interface Address
0 Y recursive 11.1.2.1
1 Y recursive 11.1.2.2
2 Y recursive 11.1.2.3
3 Y recursive 11.1.2.4
4 Y recursive 11.1.2.7
5 Y recursive 11.1.2.8
6 Y recursive 11.1.2.9
7 Y recursive 11.1.2.10

Thanks!

 

1 Reply 1

danyguo30
Level 1
Level 1

Made another try by changing the AS9000 to be working as a pure CE router, the sticky ECMP works as expected in global conext. So, I assume that the feature (or configuration) does not work with VRF configuration.  

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: