summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-11-13 16:36:00 +0000
committerGitHub <noreply@github.com>2024-11-13 16:36:00 +0000
commitdb7d02729deee39b794ab8e9ec3ca8f97cb0683d (patch)
treef60748bbe947e27d8c5dfa16ff40da28816c6e65 /docs
parentef82f2a53ba35ea5ebad4438bb45adc370862f2c (diff)
parenta48579abde1ad127fe34a79dd10d72f47ffa3565 (diff)
downloadvyos-documentation-db7d02729deee39b794ab8e9ec3ca8f97cb0683d.tar.gz
vyos-documentation-db7d02729deee39b794ab8e9ec3ca8f97cb0683d.zip
Merge pull request #1566 from nvollmar/T6871
T6871: add missing static route documentation
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/protocols/static.rst51
1 files changed, 49 insertions, 2 deletions
diff --git a/docs/configuration/protocols/static.rst b/docs/configuration/protocols/static.rst
index bfc25201..02c9e91b 100644
--- a/docs/configuration/protocols/static.rst
+++ b/docs/configuration/protocols/static.rst
@@ -138,8 +138,47 @@ Interface Routes
set protocols static route6 2001:db8:1000::/36 interface eth0 segments '2001:db8:aaaa::7/2002::4/2002::3/2002::2'
-Blackhole
-=========
+
+DHCP Interface Routes
+=====================
+
+.. cfgcmd:: set protocols static route <subnet> dhcp-interface <interface>
+
+ Defines route with DHCP interface supplying next-hop IP address.
+
+
+Reject Routes
+=============
+
+.. cfgcmd:: set protocol static route <subnet> reject
+
+ Defines route which emits an ICMP unreachable when matched.
+
+.. cfgcmd:: set protocols static route <subnet> reject distance <distance>
+
+ Defines distance for this route, routes with smaller administrative
+ distance are elected prior to those with a higher distance.
+
+.. cfgcmd:: set protocols static route <subnet> reject tag <tag>
+
+ Sets a tag for this route.
+
+.. cfgcmd:: set protocol static route6 <subnet> reject
+
+ Defines route which emits an ICMP unreachable when matched.
+
+.. cfgcmd:: set protocols static route6 <subnet> reject distance <distance>
+
+ Defines distance for this route, routes with smaller administrative
+ distance are elected prior to those with a higher distance.
+
+.. cfgcmd:: set protocols static route6 <subnet> reject tag <tag>
+
+ Sets a tag for this route.
+
+
+Blackhole Routes
+================
.. cfgcmd:: set protocols static route <subnet> blackhole
@@ -154,6 +193,10 @@ Blackhole
Defines blackhole distance for this route, routes with smaller administrative
distance are elected prior to those with a higher distance.
+.. cfgcmd:: set protocols static route <subnet> blackhole tag <tag>
+
+ Sets a tag for this route.
+
.. cfgcmd:: set protocols static route6 <subnet> blackhole
Use this command to configure a "black-hole" route on the router. A
@@ -167,6 +210,10 @@ Blackhole
Defines blackhole distance for this route, routes with smaller administrative
distance are elected prior to those with a higher distance.
+.. cfgcmd:: set protocols static route6 <subnet> blackhole tag <tag>
+
+ Sets a tag for this route.
+
Alternate Routing Tables
========================