From f24dfccbdc223f2ceaa2c86bfd08bb52fbd0b404 Mon Sep 17 00:00:00 2001 From: Jafar Al-Gharaibeh Date: Tue, 18 Apr 2023 00:43:29 -0500 Subject: [PATCH] doc: document the new set min/max metric commands Signed-off-by: Jafar Al-Gharaibeh --- doc/user/routemap.rst | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) 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 -- 2.39.5