diff options
author | Chirag Shah <chirag@nvidia.com> | 2023-05-19 06:49:03 +0200 |
---|---|---|
committer | Chirag Shah <chirag@nvidia.com> | 2023-05-19 23:45:38 +0200 |
commit | cd845be6a7e32d6b65bcf6fda64df03f688a4f54 (patch) | |
tree | 80af47e62d817bbd72861dfe0bc6db38d53f81c4 /bgpd/bgp_attr.c | |
parent | Merge pull request #13549 from LabNConsulting/chopps/cclsopt (diff) | |
download | frr-cd845be6a7e32d6b65bcf6fda64df03f688a4f54.tar.xz frr-cd845be6a7e32d6b65bcf6fda64df03f688a4f54.zip |
bgpd: fix aggregate route best path select
In ebgp+ ibgp deployment aggregate summary-only route
selected path should always be locally originated
summary route.
When aggregate route summary-only config is removed
The selected path is iBGP peer as its lower cost
Upon reconfiguring aggregate route summary-only,
the locally originated is not selected due to
always choosing first path attribute and bailing
out as no change in route update.
Ticket:#3467890
Issue:3467890
Testing Done:
Config:
------
TORC11(config-router)#router bgp
TORC11(config-router)# address-family ipv4 unicast
TORC11(config-router-af)# aggregate-address 184.123.0.0/16
summary-only
TORC11(config-router-af)# no aggregate-address 184.123.0.0/16
summary-only
TORC11(config-router-af)# aggregate-address 184.123.0.0/16
summary-only
Before fix:
-----------
*> 184.123.0.0/16 ::(TORC11) 0 32768 i
* uplink1 0 4435 5546 i
* uplink2 0 4435 5546 i
* i peerlink-3 0 100 0 i
After fix:
----------
*> 184.123.0.0/16 ::(TORC11) 0 32768 i
* i peerlink-3 0 100 0 i
* uplink2 0 4435 5546 i
* uplink1 0 4435 5546 i
Signed-off-by: Chirag Shah <chirag@nvidia.com>
Diffstat (limited to 'bgpd/bgp_attr.c')
0 files changed, 0 insertions, 0 deletions