summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-17 18:19:47 +0100
committerGitHub <noreply@github.com>2024-03-17 18:19:47 +0100
commit64be488c727d8d0a3a72a006aefd4eceef867545 (patch)
tree075ed98ed4b69cfd5b506c36f5cceeda8f6c55e4 /docs
parentc15e8ff595c73e14a3a816977f074cb4652ebdc2 (diff)
parentd578921431ba8c9eb5f7bbd7531b667e465cc2c5 (diff)
downloadvyos-documentation-64be488c727d8d0a3a72a006aefd4eceef867545.tar.gz
vyos-documentation-64be488c727d8d0a3a72a006aefd4eceef867545.zip
Merge pull request #1325 from vyos/as-path-T6129
policy: T6129: add route-map option "as-path exclude all"
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/policy/route-map.rst19
1 files changed, 7 insertions, 12 deletions
diff --git a/docs/configuration/policy/route-map.rst b/docs/configuration/policy/route-map.rst
index 07cfcf02..ccc4cef0 100644
--- a/docs/configuration/policy/route-map.rst
+++ b/docs/configuration/policy/route-map.rst
@@ -197,12 +197,15 @@ Route Map
BGP aggregator attribute: AS number or IP address of an aggregation.
.. 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.
+ 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
- <text>
+ <1-4294967295>
Prepend the given string of AS numbers to the AS_PATH of the BGP path's NLRI.
@@ -233,11 +236,11 @@ Route Map
.. cfgcmd:: set policy route-map <text> rule <1-65535> set large-community
<add|replace> <GA:LDP1:LDP2>
- Add or replace BGP large-community attribute in format
+ Add or replace BGP large-community attribute in format
``<0-4294967295:0-4294967295:0-4294967295>``
.. cfgcmd:: set policy route-map <text> rule <1-65535> set large-community none
-
+
Delete all BGP large-communities
.. cfgcmd:: set policy route-map <text> rule <1-65535> set large-community delete
@@ -375,11 +378,3 @@ List of well-known communities
* ``accept-own-nexthop`` - Well-known communities value accept-own-nexthop 0xFFFF0008
* ``blackhole`` - Well-known communities value BLACKHOLE 0xFFFF029A
* ``no-peer`` - Well-known communities value NOPEER 0xFFFFFF04
-
-
-
-
-
-
-
-