From 6811845b67999861388cf00d3ca0ee8471d29876 Mon Sep 17 00:00:00 2001 From: hasso Date: Fri, 8 Apr 2005 15:40:36 +0000 Subject: * 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. --- bgpd/bgpd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bgpd/bgpd.c') 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) -- cgit v1.2.1