Skip to content

Commit

Permalink
bgpd: really remove the no ip as-path... command
Browse files Browse the repository at this point in the history
We had already removed the `ip as-path..` command
to have `bgp as-path` but for some reason a `no ip as-path..`
command ALIAS was still around.  Kill with extreme prejudice.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
  • Loading branch information
donaldsharp committed May 11, 2020
1 parent f3a9e1a commit 0feba37
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions bgpd/bgp_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -548,15 +548,6 @@ DEFUN (no_as_path_all,
return CMD_SUCCESS;
}

ALIAS (no_as_path_all,
no_ip_as_path_all_cmd,
"no ip as-path access-list WORD",
NO_STR
IP_STR
"BGP autonomous system path filter\n"
"Specify an access list name\n"
"Regular expression access list name\n")

static void as_list_show(struct vty *vty, struct as_list *aslist)
{
struct as_filter *asfilter;
Expand Down Expand Up @@ -683,7 +674,6 @@ void bgp_filter_init(void)
install_element(CONFIG_NODE, &bgp_as_path_cmd);
install_element(CONFIG_NODE, &no_bgp_as_path_cmd);
install_element(CONFIG_NODE, &no_bgp_as_path_all_cmd);
install_element(CONFIG_NODE, &no_ip_as_path_all_cmd);

install_element(VIEW_NODE, &show_bgp_as_path_access_list_cmd);
install_element(VIEW_NODE, &show_ip_as_path_access_list_cmd);
Expand Down

0 comments on commit 0feba37

Please sign in to comment.