summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2022-11-18 14:11:33 +0100
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2022-11-18 14:11:33 +0100
commit4b1c641e63f6c93f29b3b879de81e7d72e2ebeab (patch)
tree91367d2fab021f4fc869ccaa1f11efdcde9b5fce
parentf2cf8417aaffd0793db20a6dd89185839012df00 (diff)
downloadvyos-documentation-4b1c641e63f6c93f29b3b879de81e7d72e2ebeab.tar.gz
vyos-documentation-4b1c641e63f6c93f29b3b879de81e7d72e2ebeab.zip
policy: T2199: Update policy route interface examples
-rw-r--r--docs/configuration/policy/examples.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/configuration/policy/examples.rst b/docs/configuration/policy/examples.rst
index f52a7950..7c7b9c46 100644
--- a/docs/configuration/policy/examples.rst
+++ b/docs/configuration/policy/examples.rst
@@ -83,7 +83,7 @@ interface, we use:
.. code-block:: none
- set interfaces ethernet eth1 policy route FILTER-WEB
+ set policy route FILTER-WEB interface eth1
################
Multiple Uplinks
@@ -129,8 +129,8 @@ Apply routing policy to **inbound** direction of out VLAN interfaces
.. code-block:: none
- set interfaces ethernet eth0 vif 10 policy route 'PBR'
- set interfaces ethernet eth0 vif 11 policy route 'PBR'
+ set policy route 'PBR' interface eth0.10
+ set policy route 'PBR' interface eth0.11
**OPTIONAL:** Exclude Inter-VLAN traffic (between VLAN10 and VLAN11)
@@ -203,7 +203,7 @@ destined target host (in our example eth1).
.. code-block:: none
- set interfaces ethernet eth1 policy route IP-MSS-CLAMP
+ set policy route IP-MSS-CLAMP interface eth1
You can view that the policy is being correctly (or incorrectly) utilised
with the following command: