.. _example_traffic_policy_preclassification: ################# Preclassification ################# The following scenario shows how to pre-classify packets using traffic policies. This reduces packet processing time and improves system performance. .. image:: preclassification.svg :width: 800 ********************* Test Pre-Classify Out ********************* Description =========== A ``traffic policy`` is configured in DUT0 (interface ``eth0``). This policy enables pre-classification in the OUT hook; i.e., only IP packets are processed and classified. Scenario ======== .. include:: preclassification/testpre-classifyout .. raw:: html
************************** Test Pre-Classify Link-Out ************************** Description =========== A ``traffic policy`` is configured in DUT0 (interface ``eth0``). This policy enables pre-classification in the LINK-OUT hook; i.e., all packets leaving this interface are processed. Scenario ======== .. include:: preclassification/testpre-classifylink-out .. raw:: html