From b8ad84d2115cbb07077faa229fc27f03b970be74 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Fri, 19 Feb 2021 14:17:05 +0100 Subject: [PATCH] bgpd: add attribute-unchanged attribute to flowspec flowspec address family can now use attribute-unchanged attribute. This parameter is necessary when it comes to play with route-server-client, as that latter command forces to change attribute-unchanged nexthop. Signed-off-by: Philippe Guibert --- bgpd/bgp_vty.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index f8ef5e2aa2..ab9e8af96d 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -18077,6 +18077,11 @@ void bgp_vty_init(void) install_element(BGP_EVPN_NODE, &neighbor_attr_unchanged_cmd); install_element(BGP_EVPN_NODE, &no_neighbor_attr_unchanged_cmd); + install_element(BGP_FLOWSPECV4_NODE, &neighbor_attr_unchanged_cmd); + install_element(BGP_FLOWSPECV4_NODE, &no_neighbor_attr_unchanged_cmd); + install_element(BGP_FLOWSPECV6_NODE, &neighbor_attr_unchanged_cmd); + install_element(BGP_FLOWSPECV6_NODE, &no_neighbor_attr_unchanged_cmd); + /* "nexthop-local unchanged" commands */ install_element(BGP_IPV6_NODE, &neighbor_nexthop_local_unchanged_cmd); install_element(BGP_IPV6_NODE, -- 2.39.5