summaryrefslogtreecommitdiffstats
path: root/doc/user/routemap.rst
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-09-13 22:37:45 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-09-13 22:44:34 +0200
commit4dac4cc943efe49b13754bd2cee03975309efd1b (patch)
treebb54995f406a7cc87ee8f6489a0cd62e9aafdb46 /doc/user/routemap.rst
parentbgpd: Create `set distance XXX` command for routemaps (diff)
downloadfrr-4dac4cc943efe49b13754bd2cee03975309efd1b.tar.xz
frr-4dac4cc943efe49b13754bd2cee03975309efd1b.zip
doc: Update documentation for 'set distance XX` command for bgp
Allow bgp to store and pass through a different distance than normal for installing into the rib. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'doc/user/routemap.rst')
-rw-r--r--doc/user/routemap.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/user/routemap.rst b/doc/user/routemap.rst
index 09cbd7c7b..e36783d17 100644
--- a/doc/user/routemap.rst
+++ b/doc/user/routemap.rst
@@ -270,6 +270,12 @@ Route Map Set Command
Set the BGP local preference to `local_pref`.
+.. index:: [no] set distance DISTANCE
+.. clicmd:: [no] set distance DISTANCE
+
+ Set the Administrative distance to DISTANCE to use for the route.
+ This is only locally significant and will not be dispersed to peers.
+
.. index:: set weight WEIGHT
.. clicmd:: set weight WEIGHT