.. _example_interfaces_ethernet_traffic_policy_in_inpolicy: ######### In Policy ######### This scenario shows how to attach a traffic policy to the ``in`` hook in an Ethernet interface. This hook is triggered when a packet is received through the interface. .. image:: ../common.svg :width: 800 ************************* Test Interface Traffic In ************************* Description =========== A traffic policy is configured in DUT0 to drop all incoming traffic with packet length larger than 128 bytes. Scenario ======== .. include:: inpolicy/testinterfacetrafficin .. raw:: html