diff options
author | Daniil Baturin <daniil@vyos.io> | 2022-02-01 22:27:40 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-01 22:27:40 +0700 |
commit | 0b9e830058be26199c510e0b15b47d2d302389e1 (patch) | |
tree | 4230795e30f67042c4df4f35fa6e6932a31f31d4 /docs | |
parent | 04fa258756f637777a850fc0fbdac1e4f8f078dd (diff) | |
parent | f97d6d63fc3831266a6f40a3080febed0b50a4e1 (diff) | |
download | vyos-documentation-0b9e830058be26199c510e0b15b47d2d302389e1.tar.gz vyos-documentation-0b9e830058be26199c510e0b15b47d2d302389e1.zip |
Merge pull request #707 from hensur/current-ipv6-local-route-docs
policy: T4151: T4219: update local-route(6) docs
Diffstat (limited to 'docs')
-rw-r--r-- | docs/configuration/policy/local-route.rst | 31 |
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 |