summaryrefslogtreecommitdiff
path: root/docs/configuration
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2022-07-20 12:26:42 +0100
committerGitHub <noreply@github.com>2022-07-20 12:26:42 +0100
commit0448c16d4a9bc80c6cd9e7d3a171ba0749acb6ce (patch)
tree21ca4fe345c2857b6fa0a8aed853a5661b48beca /docs/configuration
parent4e0468f0522210b66047575ccf113f8251525e32 (diff)
parent9adb46cccdfb40c93c62a223b6aa8cb19dec712c (diff)
downloadvyos-documentation-0448c16d4a9bc80c6cd9e7d3a171ba0749acb6ce.tar.gz
vyos-documentation-0448c16d4a9bc80c6cd9e7d3a171ba0749acb6ce.zip
Merge pull request #817 from goodNETnick/master
route-map match prefix-len command
Diffstat (limited to 'docs/configuration')
-rw-r--r--docs/configuration/policy/route-map.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/configuration/policy/route-map.rst b/docs/configuration/policy/route-map.rst
index 6e979a32..97fa1102 100644
--- a/docs/configuration/policy/route-map.rst
+++ b/docs/configuration/policy/route-map.rst
@@ -69,6 +69,13 @@ Route Map
IP address of route to match, based on prefix-list.
+.. cfgcmd:: set policy route-map <text> rule <1-65535> match ip address
+ prefix-len <0-32>
+
+ IP address of route to match, based on specified prefix-length.
+ Note that this does not work with BGP routes.
+ When applied to BGP it can lead to unexpected results.
+
.. cfgcmd:: set policy route-map <text> rule <1-65535> match ip nexthop
access-list <1-2699>
@@ -114,6 +121,13 @@ Route Map
IPv6 address of route to match, based on IPv6 prefix-list.
+.. cfgcmd:: set policy route-map <text> rule <1-65535> match ipv6 address
+ prefix-len <0-128>
+
+ IPv6 address of route to match, based on specified prefix-length.
+ Note that this match rule does not work with BGP routes.
+ When applied to BGP it can lead to unexpected results.
+
.. cfgcmd:: set policy route-map <text> rule <1-65535> match ipv6 nexthop
<h:h:h:h:h:h:h:h>