Merge pull request #1177 from vyos/mergify/bp/sagitta/pr-1173

policy: T4704: Added set metric (MED) to (+/-)rtt in route-map (backport #1173)
This commit is contained in:
Robert Göhler 2023-12-11 20:17:41 +01:00 committed by GitHub
commit 6e4faf0188
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -318,10 +318,12 @@ Route Map
Set BGP local preference attribute. Set BGP local preference attribute.
.. cfgcmd:: set policy route-map <text> rule <1-65535> set metric .. 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 Set the route metric. When used with BGP, set the BGP attribute MED
metric value. 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 .. cfgcmd:: set policy route-map <text> rule <1-65535> set metric-type
<type-1|type-2> <type-1|type-2>