summaryrefslogtreecommitdiff
path: root/docs/configuration/policy
diff options
context:
space:
mode:
authorgoodNETnick <pknet@ya.ru>2022-07-20 04:41:15 -0400
committergoodNETnick <pknet@ya.ru>2022-07-20 04:41:15 -0400
commit9adb46cccdfb40c93c62a223b6aa8cb19dec712c (patch)
tree442dcb06c66d2ad8b2d1011f8d50361232fd61bc /docs/configuration/policy
parentaff4b038c28979a50509d1d0c552a3b3e1eb5f6c (diff)
downloadvyos-documentation-9adb46cccdfb40c93c62a223b6aa8cb19dec712c.tar.gz
vyos-documentation-9adb46cccdfb40c93c62a223b6aa8cb19dec712c.zip
route-map match prefix-len command
Diffstat (limited to 'docs/configuration/policy')
-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 8b2a555c..470c798e 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>
@@ -99,6 +106,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>