From: Jafar Al-Gharaibeh Date: Tue, 18 Apr 2023 05:43:29 +0000 (-0500) Subject: doc: document the new set min/max metric commands X-Git-Tag: base_9.0~157^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F13166%2Fhead;p=mirror%2Ffrr.git doc: document the new set min/max metric commands Signed-off-by: Jafar Al-Gharaibeh --- diff --git a/doc/user/routemap.rst b/doc/user/routemap.rst index 9e4d7a611a..b7f5336564 100644 --- a/doc/user/routemap.rst +++ b/doc/user/routemap.rst @@ -305,10 +305,18 @@ Route Map Set Command .. clicmd:: set metric <[+|-](1-4294967295)|rtt|+rtt|-rtt> - Set the BGP attribute MED to a specific value. Use `+`/`-` to add or subtract - the specified value to/from the MED. Use `rtt` to set the MED to the round - trip time or `+rtt`/`-rtt` to add/subtract the round trip time to/from the - MED. + Set the route metric. When used with BGP, set the BGP attribute MED to a + specific value. Use `+`/`-` to add or subtract the specified value to/from + the existing/MED. Use `rtt` to set the MED to the round trip time or + `+rtt`/`-rtt` to add/subtract the round trip time to/from the MED. + +.. clicmd:: set min-metric <(0-4294967295)> + + Set the minimum meric for the route. + +.. clicmd:: set max-metric <(0-4294967295)> + + Set the maximum meric for the route. .. clicmd:: set aigp-metric