.. _example_interfaces_ethernet_traffic_policy_out_outpolicy: ########## Out Policy ########## This scenario shows how to attach a traffic policy to the ``out`` hook in an Ethernet interface. This hook is triggered when a packet needs to be sent through the interface. .. image:: ../common.svg :width: 800 ************************** Test Interface Traffic Out ************************** Description =========== A traffic policy is configured in DUT0 to drop all outgoing traffic with packet length larger than 128 bytes. Scenario ======== .. include:: outpolicy/testinterfacetrafficout .. raw:: html