summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEnke Chen <enchen@paloaltonetworks.com>2024-10-20 12:25:46 -0700
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-10-21 08:34:36 +0000
commit2ddc17af933350c471be694a806da5e47f8c2522 (patch)
tree991c176a00a9d91b39376e37b9410b6221d01e94 /doc
parent61754a1b7fc934e6bf059718e030500e2081eb06 (diff)
bgpd: allow value 0 in aigp-metric setting
The value of 0 is accepted from peers, and can also be set by the route-map "set aigp-metric igp-metric". For coonsistency, it should be allowed in "set aigp-metric <value>" as well. Signed-off-by: Enke Chen <enchen@paloaltonetworks.com> (cherry picked from commit e07f38a43f0b176fcfb96403db71291c04f76cfb)
Diffstat (limited to 'doc')
-rw-r--r--doc/user/routemap.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/user/routemap.rst b/doc/user/routemap.rst
index 791762aa7b..04cd7284ac 100644
--- a/doc/user/routemap.rst
+++ b/doc/user/routemap.rst
@@ -320,7 +320,7 @@ Route Map Set Command
Set the maximum meric for the route.
-.. clicmd:: set aigp-metric <igp-metric|(1-4294967295)>
+.. clicmd:: set aigp-metric <igp-metric|(0-4294967295)>
Set the BGP attribute AIGP to a specific value. If ``igp-metric`` is specified,
then the value is taken from the IGP protocol, otherwise an arbitrary value.