From: Donatas Abraitis Date: Sun, 23 Feb 2020 18:55:14 +0000 (+0200) Subject: doc: Use +/- for `set local-preference` to add/subtract the value X-Git-Tag: base_7.4~307^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=94f756881314720753b8289aed6529676229f8c0;p=mirror%2Ffrr.git doc: Use +/- for `set local-preference` to add/subtract the value Signed-off-by: Donatas Abraitis --- diff --git a/doc/user/routemap.rst b/doc/user/routemap.rst index 435639c291..3b7bd7de14 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