summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/user/routemap.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/user/routemap.rst b/doc/user/routemap.rst
index 435639c29..3b7bd7de1 100644
--- a/doc/user/routemap.rst
+++ b/doc/user/routemap.rst
@@ -273,6 +273,16 @@ Route Map Set Command
Set the BGP local preference to `local_pref`.
+.. index:: set local-preference +LOCAL_PREF
+.. clicmd:: set local-preference +LOCAL_PREF
+
+ Add the BGP local preference to an existing `local_pref`.
+
+.. index:: set local-preference -LOCAL_PREF
+.. clicmd:: set local-preference -LOCAL_PREF
+
+ Subtract the BGP local preference from an existing `local_pref`.
+
.. index:: [no] set distance DISTANCE
.. clicmd:: [no] set distance DISTANCE