summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-10-08 20:57:49 +0300
committerDonatas Abraitis <donatas@opensourcerouting.org>2024-10-15 17:36:51 +0300
commitf677fc8db3c0195dc1bc8d7cd9887cf4e7aa638e (patch)
tree5b8a6476e1d330d1a2dc6c87d1db4475064b1d7a /doc
parent5a05dbeb133246431109f451b413d77c74bdb2fc (diff)
bgpd: Implement `set metric igp` command
Set metric automatically from the path info (IGP protocol). Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/user/routemap.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/user/routemap.rst b/doc/user/routemap.rst
index 9034af39c5..3ee5597f23 100644
--- a/doc/user/routemap.rst
+++ b/doc/user/routemap.rst
@@ -305,13 +305,15 @@ Route Map Set Command
Set the route's weight.
-.. clicmd:: set metric <[+|-](1-4294967295)|rtt|+rtt|-rtt>
+.. clicmd:: set metric <[+|-](1-4294967295)|rtt|+rtt|-rtt|igp>
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.
+ If ``igp`` is specified, then the actual value from the IGP protocol is used.
+
.. clicmd:: set min-metric <(0-4294967295)>
Set the minimum metric for the route.