diff options
author | hasso <hasso> | 2005-04-08 15:40:36 +0000 |
---|---|---|
committer | hasso <hasso> | 2005-04-08 15:40:36 +0000 |
commit | 6811845b67999861388cf00d3ca0ee8471d29876 (patch) | |
tree | 1f7f08f171164b1a75b66a45093ccb44217dff12 /bgpd/bgpd.c | |
parent | 4a8164e5b310094315e2c50d73aeea489766a48a (diff) |
* bgpd.texi: Document new "bgp bestpath as-path confed" command.
* bgp_aspath.[ch], bgp_route.c, bgp_vty.c, bgpd.[ch]: Allow to enable
the length of confederation path segments to be included during the
as-path length check in the best path decision.
Diffstat (limited to 'bgpd/bgpd.c')
-rw-r--r-- | bgpd/bgpd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c index d1e8d969..0d1689ab 100644 --- a/bgpd/bgpd.c +++ b/bgpd/bgpd.c @@ -4751,6 +4751,8 @@ bgp_config_write (struct vty *vty) /* BGP bestpath method. */ if (bgp_flag_check (bgp, BGP_FLAG_ASPATH_IGNORE)) vty_out (vty, " bgp bestpath as-path ignore%s", VTY_NEWLINE); + if (bgp_flag_check (bgp, BGP_FLAG_ASPATH_CONFED)) + vty_out (vty, " bgp bestpath as-path confed%s", VTY_NEWLINE); if (bgp_flag_check (bgp, BGP_FLAG_COMPARE_ROUTER_ID)) vty_out (vty, " bgp bestpath compare-routerid%s", VTY_NEWLINE); if (bgp_flag_check (bgp, BGP_FLAG_MED_CONFED) |