summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Surmeier <me@hensur.de>2022-02-01 13:40:57 +0100
committerHenning Surmeier <me@hensur.de>2022-02-01 13:40:57 +0100
commitf97d6d63fc3831266a6f40a3080febed0b50a4e1 (patch)
tree4230795e30f67042c4df4f35fa6e6932a31f31d4
parent04fa258756f637777a850fc0fbdac1e4f8f078dd (diff)
downloadvyos-documentation-f97d6d63fc3831266a6f40a3080febed0b50a4e1.tar.gz
vyos-documentation-f97d6d63fc3831266a6f40a3080febed0b50a4e1.zip
policy: T4151: T4219: update local-route(6) docs
-rw-r--r--docs/configuration/policy/local-route.rst31
1 files changed, 29 insertions, 2 deletions
diff --git a/docs/configuration/policy/local-route.rst b/docs/configuration/policy/local-route.rst
index 0b0122ab..e938f3cc 100644
--- a/docs/configuration/policy/local-route.rst
+++ b/docs/configuration/policy/local-route.rst
@@ -8,8 +8,8 @@ Policies for local traffic are defined in this section.
Configuration
*************
-Local Route
-===========
+Local Route IPv4
+================
.. cfgcmd:: set policy local-route rule <1-32765> set table <1-200|main>
@@ -18,3 +18,30 @@ Local Route
.. cfgcmd:: set policy local-route rule <1-32765> source <x.x.x.x|x.x.x.x/x>
Set source address or prefix to match.
+
+.. cfgcmd:: set policy local-route rule <1-32765> destination <x.x.x.x|x.x.x.x/x>
+
+ Set destination address or prefix to match.
+
+.. cfgcmd:: set policy local-route rule <1-32765> inbound-interface <interface>
+
+ Set inbound interface to match.
+
+Local Route IPv6
+================
+
+.. cfgcmd:: set policy local-route6 rule <1-32765> set table <1-200|main>
+
+ Set routing table to forward packet to.
+
+.. cfgcmd:: set policy local-route6 rule <1-32765> source <h:h:h:h:h:h:h:h|<h:h:h:h:h:h:h:h/x>
+
+ Set source address or prefix to match.
+
+.. cfgcmd:: set policy local-route6 rule <1-32765> destination <h:h:h:h:h:h:h:h|<h:h:h:h:h:h:h:h/x>
+
+ Set destination address or prefix to match.
+
+.. cfgcmd:: set policy local-route6 rule <1-32765> inbound-interface <interface>
+
+ Set inbound interface to match. \ No newline at end of file