policy: T6129: add route-map option "as-path exclude all"

This commit is contained in:
Christian Breunig 2024-03-17 08:49:08 +01:00
parent de7fab8728
commit d578921431

View File

@ -197,12 +197,15 @@ Route Map
BGP aggregator attribute: AS number or IP address of an aggregation. BGP aggregator attribute: AS number or IP address of an aggregation.
.. cfgcmd:: set policy route-map <text> rule <1-65535> set as-path exclude .. cfgcmd:: set policy route-map <text> rule <1-65535> set as-path exclude
<text> <1-4294967295 | all>
Drop AS-NUMBER from the BGP AS path. Drop AS-NUMBER from the BGP AS path.
If ``all`` is specified, remove all AS numbers from the AS_PATH of the BGP
path's NLRI.
.. cfgcmd:: set policy route-map <text> rule <1-65535> set as-path prepend .. cfgcmd:: set policy route-map <text> rule <1-65535> set as-path prepend
<text> <1-4294967295>
Prepend the given string of AS numbers to the AS_PATH of the BGP path's NLRI. Prepend the given string of AS numbers to the AS_PATH of the BGP path's NLRI.
@ -375,11 +378,3 @@ List of well-known communities
* ``accept-own-nexthop`` - Well-known communities value accept-own-nexthop 0xFFFF0008 * ``accept-own-nexthop`` - Well-known communities value accept-own-nexthop 0xFFFF0008
* ``blackhole`` - Well-known communities value BLACKHOLE 0xFFFF029A * ``blackhole`` - Well-known communities value BLACKHOLE 0xFFFF029A
* ``no-peer`` - Well-known communities value NOPEER 0xFFFFFF04 * ``no-peer`` - Well-known communities value NOPEER 0xFFFFFF04