mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
policy: T4151: T4219: update local-route(6) docs
This commit is contained in:
parent
04fa258756
commit
f97d6d63fc
@ -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.
|
||||
Loading…
x
Reference in New Issue
Block a user