summaryrefslogtreecommitdiffstats
path: root/bgpd
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2021-03-31 17:51:34 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2021-04-02 09:01:02 +0200
commit5b1b6b8bb2ff63c10bb1deef78834fe015fd0765 (patch)
treec8bde2448bb79a81c3ef14dc98f43aa72ab63953 /bgpd
parentMerge pull request #8375 from mjstapp/fix_ignore_pcep_test_files (diff)
downloadfrr-5b1b6b8bb2ff63c10bb1deef78834fe015fd0765.tar.xz
frr-5b1b6b8bb2ff63c10bb1deef78834fe015fd0765.zip
bgpd: increase the maximum number of neighbors
increase the maximum number of neighbors in a bgp group. Set the maximum value to 50000 instead of 5000. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgp_vty.c4
-rw-r--r--bgpd/bgpd.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index a1c85757d..9ecf02aae 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -3990,7 +3990,7 @@ void cli_show_router_global_neighbor_config(struct vty *vty,
DEFUN_YANG(bgp_listen_limit,
bgp_listen_limit_cmd,
- "bgp listen limit (1-5000)",
+ "bgp listen limit (1-65535)",
"BGP specific commands\n"
"BGP Dynamic Neighbors listen commands\n"
"Maximum number of BGP Dynamic Neighbors that can be created\n"
@@ -4007,7 +4007,7 @@ DEFUN_YANG(bgp_listen_limit,
DEFUN_YANG(no_bgp_listen_limit,
no_bgp_listen_limit_cmd,
- "no bgp listen limit [(1-5000)]",
+ "no bgp listen limit [(1-65535)]",
NO_STR
"BGP specific commands\n"
"BGP Dynamic Neighbors listen commands\n"
diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h
index 3f5f4ce4a..51134dc8c 100644
--- a/bgpd/bgpd.h
+++ b/bgpd/bgpd.h
@@ -1824,7 +1824,7 @@ struct bgp_nlri {
/* BGP Dynamic Neighbors feature */
#define BGP_DYNAMIC_NEIGHBORS_LIMIT_DEFAULT 100
#define BGP_DYNAMIC_NEIGHBORS_LIMIT_MIN 1
-#define BGP_DYNAMIC_NEIGHBORS_LIMIT_MAX 5000
+#define BGP_DYNAMIC_NEIGHBORS_LIMIT_MAX 65535
/* Flag for peer_clear_soft(). */
enum bgp_clear_type {