From 4b1c641e63f6c93f29b3b879de81e7d72e2ebeab Mon Sep 17 00:00:00 2001 From: sarthurdev <965089+sarthurdev@users.noreply.github.com> Date: Fri, 18 Nov 2022 14:11:33 +0100 Subject: policy: T2199: Update policy route interface examples --- docs/configuration/policy/examples.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/configuration/policy') 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: -- cgit v1.2.3