summaryrefslogtreecommitdiff
path: root/lib/lib_errors.h
diff options
context:
space:
mode:
authorAmeya Dharkar <adharkar@vmware.com>2018-11-02 14:40:44 -0700
committerAmeya Dharkar <adharkar@vmware.com>2018-12-05 11:38:13 -0800
commit01eced229d86389c75d222c44dafc65e9f73a68a (patch)
treebd11c955a7e110ef3b862d8fe78a905057c56485 /lib/lib_errors.h
parent60e2b4f56695fba680493cfbb61fd8d4d5b6fdf7 (diff)
bgpd: Display default local preference and local AS for BGP show commands
1. "show bgp ipv4/ipv6 [json]" 2. "show bgp ipv4/ipv6 neighbor <peer> routes [json]" 3. "show bgp ipv4/ipv6 neighbors <peer> advertised-routes [json]" In the above show commands, when a BGP path is displayed, we do not display the local preference if it is EBGP route. Route calculation assumes the default local preference. But, we can change the default local preference using configuration in FRR. In this case, user should know the default local preference value that is being used in the route calculation. Thus, adding a new field 'default local preferece' in the show commands where a BGP path is displayed. When a BGP path is displayed in the above show commands, as-path does not include the local AS. So, user has to execute another show command to display the local-AS. To avoid this, adding a new field local-AS to above show commands. Signed-off-by: Ameya Dharkar <adharkar@vmware.com>
Diffstat (limited to 'lib/lib_errors.h')
0 files changed, 0 insertions, 0 deletions