summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2023-12-07 13:43:36 +0100
committerGitHub <noreply@github.com>2023-12-07 13:43:36 +0100
commit3a7c582daa527988bf8b3d45f223fd1aae079fa1 (patch)
tree9fdab7ee0edd48874c93e4cf81cebbf0afccc65e /docs
parent31a27daad2d40e1479f261fb1430f9da093370bd (diff)
parenta78504e95cac31f84714268441781ed0cc8ff578 (diff)
downloadvyos-documentation-3a7c582daa527988bf8b3d45f223fd1aae079fa1.tar.gz
vyos-documentation-3a7c582daa527988bf8b3d45f223fd1aae079fa1.zip
Merge pull request #1173 from aapostoliuk/T4704-circinus
policy: T4704: Added set metric (MED) to (+/-)rtt in route-map
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/policy/route-map.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/configuration/policy/route-map.rst b/docs/configuration/policy/route-map.rst
index 9fe1eef7..07cfcf02 100644
--- a/docs/configuration/policy/route-map.rst
+++ b/docs/configuration/policy/route-map.rst
@@ -318,10 +318,12 @@ Route Map
Set BGP local preference attribute.
.. cfgcmd:: set policy route-map <text> rule <1-65535> set metric
- <+/-metric|0-4294967295>
+ <+/-metric|0-4294967295|rtt|+rtt|-rtt>
- Set destination routing protocol metric. Add or subtract metric, or set
- metric value.
+ 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.
.. cfgcmd:: set policy route-map <text> rule <1-65535> set metric-type
<type-1|type-2>