Merge pull request #891 from sarthurdev/pbr_refactor

policy: T2199: Update policy route interface examples
This commit is contained in:
Robert Göhler 2022-11-21 20:42:25 +01:00 committed by GitHub
commit a8c86f2973
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,7 +83,7 @@ interface, we use:
.. code-block:: none .. code-block:: none
set interfaces ethernet eth1 policy route FILTER-WEB set policy route FILTER-WEB interface eth1
################ ################
Multiple Uplinks Multiple Uplinks
@ -129,8 +129,8 @@ Apply routing policy to **inbound** direction of out VLAN interfaces
.. code-block:: none .. code-block:: none
set interfaces ethernet eth0 vif 10 policy route 'PBR' set policy route 'PBR' interface eth0.10
set interfaces ethernet eth0 vif 11 policy route 'PBR' set policy route 'PBR' interface eth0.11
**OPTIONAL:** Exclude Inter-VLAN traffic (between VLAN10 and VLAN11) **OPTIONAL:** Exclude Inter-VLAN traffic (between VLAN10 and VLAN11)
@ -203,7 +203,7 @@ destined target host (in our example eth1).
.. code-block:: none .. 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 You can view that the policy is being correctly (or incorrectly) utilised
with the following command: with the following command: