Skip to content

Commit

Permalink
Merge pull request #1177 from vyos/mergify/bp/sagitta/pr-1173
Browse files Browse the repository at this point in the history
policy: T4704: Added set metric (MED) to (+/-)rtt in route-map (backport #1173)
  • Loading branch information
rebortg authored Dec 11, 2023
2 parents a141b96 + 4fc7bdf commit 6e4faf0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/configuration/policy/route-map.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 6e4faf0

Please sign in to comment.