From 919e06667ab15d8a92882755d6b0bacf3af178ef Mon Sep 17 00:00:00 2001 From: Daniel Walton Date: Thu, 12 Nov 2015 20:25:46 +0000 Subject: [PATCH] BGP: "redistribute" is missing from the "address-family ipv4 unicast" sub-context Signed-off-by: Daniel Walton Reviewed-by: Donald Sharp Ticket: CM-8164 --- bgpd/bgp_vty.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index 6bbb5d8dd3..911cc5953b 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -13249,6 +13249,26 @@ bgp_vty_init (void) install_element (BGP_NODE, &no_bgp_redistribute_ipv4_ospf_rmap_metric_cmd); install_element (BGP_NODE, &bgp_redistribute_ipv4_ospf_metric_rmap_cmd); install_element (BGP_NODE, &no_bgp_redistribute_ipv4_ospf_metric_rmap_cmd); + install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_cmd); + install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_cmd); + install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_rmap_cmd); + install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_rmap_cmd); + install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_metric_cmd); + install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_metric_cmd); + install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_rmap_metric_cmd); + install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_metric_rmap_cmd); + install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_rmap_metric_cmd); + install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_metric_rmap_cmd); + install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_ospf_cmd); + install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_ospf_cmd); + install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_ospf_rmap_cmd); + install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_ospf_rmap_cmd); + install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_ospf_metric_cmd); + install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_ospf_metric_cmd); + install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_ospf_rmap_metric_cmd); + install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_ospf_rmap_metric_cmd); + install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_ospf_metric_rmap_cmd); + install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_ospf_metric_rmap_cmd); #ifdef HAVE_IPV6 install_element (BGP_IPV6_NODE, &bgp_redistribute_ipv6_cmd); install_element (BGP_IPV6_NODE, &no_bgp_redistribute_ipv6_cmd); -- 2.39.5