From: David Schweizer Date: Mon, 14 Sep 2020 15:08:50 +0000 (+0200) Subject: doc: updated user doc for routemap set metric cmd X-Git-Tag: base_7.6~536^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=fe430836ab789b98e8f85181f55427c33cd79224;p=matthieu%2Ffrr.git doc: updated user doc for routemap set metric cmd Updated the user documentation to reflect changes made to routemaps "set metric" VTY shell command. Signed-off-by: David Schweizer --- diff --git a/doc/user/routemap.rst b/doc/user/routemap.rst index fa5fc248a8..3d19306a75 100644 --- a/doc/user/routemap.rst +++ b/doc/user/routemap.rst @@ -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