summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2022-11-21 20:42:25 +0100
committerGitHub <noreply@github.com>2022-11-21 20:42:25 +0100
commita8c86f29733628ec7cc1dcbb1983fef40a885797 (patch)
tree5e24b2b43b33405e609607c6cf089300df943f06 /docs
parentcd9d8e4d45785463064fb0ac1598620af8d4b1c3 (diff)
parent4b1c641e63f6c93f29b3b879de81e7d72e2ebeab (diff)
downloadvyos-documentation-a8c86f29733628ec7cc1dcbb1983fef40a885797.tar.gz
vyos-documentation-a8c86f29733628ec7cc1dcbb1983fef40a885797.zip
Merge pull request #891 from sarthurdev/pbr_refactor
policy: T2199: Update policy route interface examples
Diffstat (limited to 'docs')
-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: