summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2019-01-30 17:09:04 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2019-01-30 17:10:31 +0100
commitc72d031488045316230d970e20550a0ccc64bc06 (patch)
tree4c2a6a9fc29a6f7190d36a9e4a60f9c6cb6695c2
parentb8a84b5cc1d60e2ebfc6d1c2fee0ce6b2f33b6d2 (diff)
bgpd: increase bgp restart timer value from 1-3600 to 1-4095
rfc of bgp graceful restart mechanism permits to increase the restart timer, since its value is encoded on 12 bit. So make available the possibility to extend it. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
-rw-r--r--bgpd/bgp_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index 43adf34247..f19e361d60 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -1962,7 +1962,7 @@ DEFUN (bgp_graceful_restart_stalepath_time,
DEFUN (bgp_graceful_restart_restart_time,
bgp_graceful_restart_restart_time_cmd,
- "bgp graceful-restart restart-time (1-3600)",
+ "bgp graceful-restart restart-time (1-4095)",
"BGP specific commands\n"
"Graceful restart capability parameters\n"
"Set the time to wait to delete stale routes before a BGP open message is received\n"
@@ -1994,7 +1994,7 @@ DEFUN (no_bgp_graceful_restart_stalepath_time,
DEFUN (no_bgp_graceful_restart_restart_time,
no_bgp_graceful_restart_restart_time_cmd,
- "no bgp graceful-restart restart-time [(1-3600)]",
+ "no bgp graceful-restart restart-time [(1-4095)]",
NO_STR
"BGP specific commands\n"
"Graceful restart capability parameters\n"