diff options
| author | Sarita Patra <saritap@vmware.com> | 2019-05-13 10:27:54 -0700 |
|---|---|---|
| committer | Sarita Patra <saritap@vmware.com> | 2019-06-11 07:56:15 -0700 |
| commit | 1608ff7715ba135c2ccac34b80871512c7f658c4 (patch) | |
| tree | 09efbead5d60487c7ab14fd3654d9adf066057b6 /lib/northbound_cli.c | |
| parent | 6aba4eeaecdb0307fda736d2bec968e5da0d5dfb (diff) | |
bgpd : add prefix-length in show ip bgp neighbor advertised routes key
Issue:
ip route 15.1.1.0/24 10.112.158.15
ip route 15.1.1.0/32 10.112.158.15
Brought up ebgp session between two FRR routers and
redistributed static routes via BGP and verfied the advertising
routes in the peer.
Verify the command "show ip bgp neighbors <neighbor address>
advertised-routes json". It only shows 15.1.1.0/32 route details.
Root casue:
For both the routes "15.1.1.0/24" and "15.1.1.0/32" the advertised
routes key is the prefix i.e. "15.1.1.0".
Fix:
Modify the key to prefix/prefix-length.
Signed-off-by: Sarita Patra <saritap@vmware.com>
Diffstat (limited to 'lib/northbound_cli.c')
0 files changed, 0 insertions, 0 deletions
