]> git.puffer.fish Git - matthieu/frr.git/commitdiff
doc: updated user doc for routemap set metric cmd
authorDavid Schweizer <dschweizer@opensourcerouting.org>
Mon, 14 Sep 2020 15:08:50 +0000 (17:08 +0200)
committerIgor Ryzhov <iryzhov@nfware.com>
Tue, 6 Oct 2020 12:54:24 +0000 (15:54 +0300)
Updated the user documentation to reflect changes made to routemaps "set
metric" VTY shell command.

Signed-off-by: David Schweizer <dschweizer@opensourcerouting.org>
doc/user/routemap.rst

index fa5fc248a8cffc146b950b36a8af76b957cc7906..3d19306a757e629b46efe30475a59017ec575d18 100644 (file)
@@ -299,10 +299,13 @@ Route Map Set Command
 
    Set the route's weight.
 
-.. index:: set metric METRIC
-.. clicmd:: set metric METRIC
+.. index:: [no] set metric <[+|-](1-4294967295)|rtt|+rtt|-rtt>
+.. clicmd:: [no] set metric <[+|-](1-4294967295)|rtt|+rtt|-rtt>
 
-   Set the BGP attribute MED.
+   Set the BGP attribute MED to a specific value. Use `+`/`-` to add or subtract
+   the specified value to/from the 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.
 
 .. index:: set as-path prepend AS_PATH
 .. clicmd:: set as-path prepend AS_PATH