Merge pull request #1325 from vyos/as-path-T6129

policy: T6129: add route-map option "as-path exclude all"
This commit is contained in:
Christian Breunig 2024-03-17 18:19:47 +01:00 committed by GitHub
commit 64be488c72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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