summaryrefslogtreecommitdiff
path: root/docs/configuration/policy/route-map.rst
diff options
context:
space:
mode:
authoraapostoliuk <a.apostoliuk@vyos.io>2023-12-04 11:20:52 +0200
committeraapostoliuk <a.apostoliuk@vyos.io>2023-12-04 11:20:52 +0200
commita78504e95cac31f84714268441781ed0cc8ff578 (patch)
treeb29de96fd6dc571e7a1c4ac87fdb8f1353c1e1ac /docs/configuration/policy/route-map.rst
parent0429c317884d8951cbf2e432981edeacd426f3ed (diff)
downloadvyos-documentation-a78504e95cac31f84714268441781ed0cc8ff578.tar.gz
vyos-documentation-a78504e95cac31f84714268441781ed0cc8ff578.zip
policy: T4704: Added set metric (MED) to (+/-)rtt in route-map
Added set metric (MED) to (+/-)rtt in route-map
Diffstat (limited to 'docs/configuration/policy/route-map.rst')
-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>