summaryrefslogtreecommitdiffstats
path: root/doc/user/routemap.rst
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2023-04-18 07:43:29 +0200
committerJafar Al-Gharaibeh <jafar@atcorp.com>2023-04-18 07:48:16 +0200
commitf24dfccbdc223f2ceaa2c86bfd08bb52fbd0b404 (patch)
treed4940770126a985d4b5a6816d6c7a771446d1582 /doc/user/routemap.rst
parenttests: add a topotest for ospf metric propagation across vrfs/protocols (diff)
downloadfrr-f24dfccbdc223f2ceaa2c86bfd08bb52fbd0b404.tar.xz
frr-f24dfccbdc223f2ceaa2c86bfd08bb52fbd0b404.zip
doc: document the new set min/max metric commands
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Diffstat (limited to 'doc/user/routemap.rst')
-rw-r--r--doc/user/routemap.rst16
1 files changed, 12 insertions, 4 deletions
diff --git a/doc/user/routemap.rst b/doc/user/routemap.rst
index 9e4d7a611..b7f533656 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 <igp-metric|(1-4294967295)>