.. _example_interfaces_ethernet_traffic_policy_local-in_localinpolicy: ############### Local In Policy ############### This scenario shows how to attach a traffic policy to the ``local-in`` hook in an Ethernet interface. This hook is triggered when a packet is received through the interface and has to be locally delivered. .. image:: ../common.svg :width: 800 ******************************* Test Interface Traffic Local-In ******************************* Description =========== A traffic policy is configured in DUT0 to drop all incoming local traffic with packet length larger than 128 bytes. Scenario ======== .. include:: localinpolicy/testinterfacetrafficlocal-in .. raw:: html