From 9a865eaeaaf30116f5217bfb97d750f8757cfe2c Mon Sep 17 00:00:00 2001 From: David Schweizer Date: Mon, 14 Sep 2020 17:08:50 +0200 Subject: [PATCH] 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 --- doc/user/routemap.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 -- 2.39.5