diff options
Diffstat (limited to 'docs/configuration/policy')
-rw-r--r-- | docs/configuration/policy/route-map.rst | 19 | ||||
-rw-r--r-- | docs/configuration/policy/route.rst | 6 |
2 files changed, 10 insertions, 15 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 - - - - - - - - diff --git a/docs/configuration/policy/route.rst b/docs/configuration/policy/route.rst index 1a85ffc6..45975774 100644 --- a/docs/configuration/policy/route.rst +++ b/docs/configuration/policy/route.rst @@ -19,8 +19,8 @@ from 1 - 999999, at the first match the action of the rule will be executed. Provide a rule-set description. -.. cfgcmd:: set policy route <name> enable-default-log -.. cfgcmd:: set policy route6 <name> enable-default-log +.. cfgcmd:: set policy route <name> default-log +.. cfgcmd:: set policy route6 <name> default-log Option to log packets hitting default-action. @@ -271,4 +271,4 @@ setting a different routing table. .. cfgcmd:: set policy route <name> rule <n> set tcp-mss <500-1460> .. cfgcmd:: set policy route6 <name> rule <n> set tcp-mss <500-1460> - Set packet modifications: Explicitly set TCP Maximum segment size value.
\ No newline at end of file + Set packet modifications: Explicitly set TCP Maximum segment size value. |