summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2022-05-29 14:54:09 +0300
committerGitHub <noreply@github.com>2022-05-29 14:54:09 +0300
commit958ae538aa007056a6886f5e65e0cd22e4f22bf1 (patch)
treee9736d9f28bea10ef4d43893962613ae163df7b6 /docs
parentf30710237ea41f17310a182587b1ed6b1e4e62d7 (diff)
parent418c62558cae20fc821325adff14e529f6770ba7 (diff)
downloadvyos-documentation-958ae538aa007056a6886f5e65e0cd22e4f22bf1.tar.gz
vyos-documentation-958ae538aa007056a6886f5e65e0cd22e4f22bf1.zip
Merge pull request #777 from nicolas-fort/routemap-ipv4-nexthop
Route-map - Extend options for ip next-hop match
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/policy/route-map.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/configuration/policy/route-map.rst b/docs/configuration/policy/route-map.rst
index 8b2a555c..6e979a32 100644
--- a/docs/configuration/policy/route-map.rst
+++ b/docs/configuration/policy/route-map.rst
@@ -75,10 +75,25 @@ Route Map
IP next-hop of route to match, based on access-list.
.. cfgcmd:: set policy route-map <text> rule <1-65535> match ip nexthop
+ address <x.x.x.x>
+
+ IP next-hop of route to match, based on ip address.
+
+.. cfgcmd:: set policy route-map <text> rule <1-65535> match ip nexthop
+ prefix-len <0-32>
+
+ IP next-hop of route to match, based on prefix length.
+
+.. cfgcmd:: set policy route-map <text> rule <1-65535> match ip nexthop
prefix-list <text>
IP next-hop of route to match, based on prefix-list.
+.. cfgcmd:: set policy route-map <text> rule <1-65535> match ip nexthop
+ type <blackhole>
+
+ IP next-hop of route to match, based on type.
+
.. cfgcmd:: set policy route-map <text> rule <1-65535> match ip route-source
access-list <1-2699>