summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_vty.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2021-10-19 17:02:36 +0200
committerDonatas Abraitis <donatas.abraitis@gmail.com>2021-10-19 17:03:54 +0200
commitde71d43e042144ca73a0ed7b1da9b6ad57f076b2 (patch)
treea2c27aaf2194cec234a7222cb0f7972eb7acc53a /bgpd/bgp_vty.c
parentbgpd: Add autocomplete for as-path filters (diff)
downloadfrr-de71d43e042144ca73a0ed7b1da9b6ad57f076b2.tar.xz
frr-de71d43e042144ca73a0ed7b1da9b6ad57f076b2.zip
bgpd: Add autocomplete for filter-list
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to '')
-rw-r--r--bgpd/bgp_vty.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index 26da38bd7..8e2044fd8 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -7242,7 +7242,7 @@ static int peer_aslist_unset_vty(struct vty *vty, const char *ip_str, afi_t afi,
DEFUN (neighbor_filter_list,
neighbor_filter_list_cmd,
- "neighbor <A.B.C.D|X:X::X:X|WORD> filter-list WORD <in|out>",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> filter-list AS_PATH_FILTER_NAME <in|out>",
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Establish BGP filters\n"
@@ -7259,7 +7259,7 @@ DEFUN (neighbor_filter_list,
}
ALIAS_HIDDEN(neighbor_filter_list, neighbor_filter_list_hidden_cmd,
- "neighbor <A.B.C.D|X:X::X:X|WORD> filter-list WORD <in|out>",
+ "neighbor <A.B.C.D|X:X::X:X|WORD> filter-list AS_PATH_FILTER_NAME <in|out>",
NEIGHBOR_STR NEIGHBOR_ADDR_STR2
"Establish BGP filters\n"
"AS path access-list name\n"
@@ -7268,7 +7268,7 @@ ALIAS_HIDDEN(neighbor_filter_list, neighbor_filter_list_hidden_cmd,
DEFUN (no_neighbor_filter_list,
no_neighbor_filter_list_cmd,
- "no neighbor <A.B.C.D|X:X::X:X|WORD> filter-list WORD <in|out>",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> filter-list AS_PATH_FILTER_NAME <in|out>",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
@@ -7285,7 +7285,7 @@ DEFUN (no_neighbor_filter_list,
}
ALIAS_HIDDEN(no_neighbor_filter_list, no_neighbor_filter_list_hidden_cmd,
- "no neighbor <A.B.C.D|X:X::X:X|WORD> filter-list WORD <in|out>",
+ "no neighbor <A.B.C.D|X:X::X:X|WORD> filter-list AS_PATH_FILTER_NAME <in|out>",
NO_STR NEIGHBOR_STR NEIGHBOR_ADDR_STR2
"Establish BGP filters\n"
"AS path access-list name\n"