diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2023-06-13 14:53:03 +0200 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2023-06-19 18:04:44 +0200 |
commit | 92550adfc77d9d01a2d7a96d67d8a5d27f7b6877 (patch) | |
tree | 03aba5159dd9ba8a06f27793648f166596715c53 /doc | |
parent | Merge pull request #13742 from sri-mohan1/srib-ldpd1 (diff) | |
download | frr-92550adfc77d9d01a2d7a96d67d8a5d27f7b6877.tar.xz frr-92550adfc77d9d01a2d7a96d67d8a5d27f7b6877.zip |
bgpd: add 'set as-path exclude all' command
It is not possible to flush all the incoming as-path list
from a given BGP update.
Add a route-map set command to remove all as-paths
from a given AS path. Add the necessary tests.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user/bgp.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst index a2585f3a5..215f473c3 100644 --- a/doc/user/bgp.rst +++ b/doc/user/bgp.rst @@ -2106,6 +2106,11 @@ Using AS Path in Route Map Replace a specific AS number to local AS number. ``any`` replaces each AS number in the AS-PATH with the local AS number. +.. clicmd:: set as-path exclude all + + Remove all AS numbers from the AS_PATH of the BGP path's NLRI. The no form of + this command removes this set operation from the route-map. + .. _bgp-communities-attribute: Communities Attribute |