summaryrefslogtreecommitdiff
path: root/docs/configuration/policy
diff options
context:
space:
mode:
authorrebortg <github@ghlr.de>2024-01-13 23:12:29 +0100
committerrebortg <github@ghlr.de>2024-01-14 21:11:10 +0100
commit14c94be155255524d4e05c1f5308233f8b67be03 (patch)
treed742ee314656029270aa8e7e315b2c2abf3e13e8 /docs/configuration/policy
parent0740593f13225ad72a127e99aaa49d5a32ba5325 (diff)
parentad280ba6493a76a73b25ca4472365720b10bd412 (diff)
downloadvyos-documentation-14c94be155255524d4e05c1f5308233f8b67be03.tar.gz
vyos-documentation-14c94be155255524d4e05c1f5308233f8b67be03.zip
Merge branch 'master' of github.com:vyos/vyos-documentation
Diffstat (limited to 'docs/configuration/policy')
-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>