diff options
| author | Chirag Shah <chirag@nvidia.com> | 2023-05-18 21:49:03 -0700 |
|---|---|---|
| committer | Chirag Shah <chirag@nvidia.com> | 2023-05-19 14:45:38 -0700 |
| commit | cd845be6a7e32d6b65bcf6fda64df03f688a4f54 (patch) | |
| tree | 80af47e62d817bbd72861dfe0bc6db38d53f81c4 /tests/topotests/ospf_basic_functionality/test_ospf_p2mp.py | |
| parent | 32b20e1ad65e8db2ef80dd39b255f34de2802cd2 (diff) | |
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 'tests/topotests/ospf_basic_functionality/test_ospf_p2mp.py')
0 files changed, 0 insertions, 0 deletions
