diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2022-11-04 08:00:06 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-04 08:00:06 -0400 |
| commit | efda3db030c6dbbf16ee09c027b5ade435f989d0 (patch) | |
| tree | a3429acedec786cb14bd9bb96d8f41ea41a3975f | |
| parent | 63e357a82c55fb750aed1a65d8e8107338f32329 (diff) | |
| parent | 5970204c69566f3cc237a31ef5c7ec2ac51645ef (diff) | |
Merge pull request #12256 from opensourcerouting/fix/llgr_max_values
bgpd: Cap LLGR stale-time to 16777215
| -rw-r--r-- | bgpd/bgp_vty.c | 4 | ||||
| -rw-r--r-- | doc/user/bgp.rst | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index 057f9ffc37..1f66080e93 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -3394,7 +3394,7 @@ DEFUN (no_bgp_graceful_restart_rib_stale_time, } DEFUN(bgp_llgr_stalepath_time, bgp_llgr_stalepath_time_cmd, - "bgp long-lived-graceful-restart stale-time (1-4294967295)", + "bgp long-lived-graceful-restart stale-time (1-16777215)", BGP_STR "Enable Long-lived Graceful Restart\n" "Specifies maximum time to wait before purging long-lived stale routes\n" @@ -3411,7 +3411,7 @@ DEFUN(bgp_llgr_stalepath_time, bgp_llgr_stalepath_time_cmd, } DEFUN(no_bgp_llgr_stalepath_time, no_bgp_llgr_stalepath_time_cmd, - "no bgp long-lived-graceful-restart stale-time [(1-4294967295)]", + "no bgp long-lived-graceful-restart stale-time [(1-16777215)]", NO_STR BGP_STR "Enable Long-lived Graceful Restart\n" "Specifies maximum time to wait before purging long-lived stale routes\n" diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst index 695530dbfe..7083b19b90 100644 --- a/doc/user/bgp.rst +++ b/doc/user/bgp.rst @@ -1052,7 +1052,7 @@ Long-lived Graceful Restart Currently, only restarter mode is supported. This capability is advertised only if graceful restart capability is negotiated. -.. clicmd:: bgp long-lived-graceful-restart stale-time (1-4294967295) +.. clicmd:: bgp long-lived-graceful-restart stale-time (1-16777215) Specifies the maximum time to wait before purging long-lived stale routes for helper routers. |
