]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: Update doc for some as-path route-map commands 4900/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 26 Aug 2019 13:56:53 +0000 (09:56 -0400)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Thu, 29 Aug 2019 11:51:49 +0000 (14:51 +0300)
Update the documentation for some as-path route-map commands.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
doc/user/bgp.rst

index 02405a3c7211a2feb9afad9c7b279de9b6e3f871..f72a07655a356a13d7566821ed65ab6a7149300a 100644 (file)
@@ -1120,19 +1120,24 @@ AS path access list is user defined AS path.
 Using AS Path in Route Map
 --------------------------
 
-.. index:: match as-path WORD
-.. clicmd:: match as-path WORD
+.. index:: [no] match as-path WORD
+.. clicmd:: [no] match as-path WORD
 
+   For a given as-path, WORD, match it on the BGP as-path given for the prefix
+   and if it matches do normal route-map actions.  The no form of the command
+   removes this match from the route-map.
 
-.. index:: set as-path prepend AS-PATH
-.. clicmd:: set as-path prepend AS-PATH
+.. index:: [no] set as-path prepend AS-PATH
+.. clicmd:: [no] set as-path prepend AS-PATH
 
-   Prepend the given string of AS numbers to the AS_PATH.
+   Prepend the given string of AS numbers to the AS_PATH of the BGP path's NLRI.
+   The no form of this command removes this set operation from the route-map.
 
-.. index:: set as-path prepend last-as NUM
-.. clicmd:: set as-path prepend last-as NUM
+.. index:: [no] set as-path prepend last-as NUM
+.. clicmd:: [no] set as-path prepend last-as NUM
 
    Prepend the existing last AS number (the leftmost ASN) to the AS_PATH.
+   The no form of this command removes this set operation from the route-map.
 
 .. _bgp-communities-attribute: