Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Enabling Dynamic ARP Inspection (CLI Procedure)

    Dynamic ARP inspection (DAI) protects switches against ARP spoofing. DAI inspects ARP packets on the LAN and uses the information in the DHCP snooping database on the switch to validate ARP packets and to protect against ARP cache poisoning.

    This topic describes:

    Enabling DAI

    You configure DAI for each VLAN, not for each interface (port). By default, DAI is disabled for all VLANs.

    To enable DAI on a VLAN or all VLANs:

    • On a single VLAN:
      [edit ethernet-switching-options secure-access-port]
      user@switch# set vlan vlan-name arp-inspection
    • On all VLANs:
      [edit ethernet-switching-options secure-access-port]
      user@switch# set vlan all arp-inspection

    Applying CoS Forwarding Classes to Prioritize Inspected Packets

    You might need to use class of service (CoS) to protect packets from critical applications from being dropped during periods of network congestion and delay and you might also need the port security features of DHCP snooping on the same ports through which those critical packets are entering and leaving.

    To apply CoS forwarding classes and queues to DAI packets:

    1. Create a user-defined forwarding class to be used for prioritizing DAI packets:
      [edit class-of-service]
      user@switch# set forwarding-classes class class-name queue queue-number
    2. Enable DAI on a specific VLAN or on all VLANs and apply the desired forwarding class on the DAI packets:
      • On a specific VLAN:
        [edit ethernet-switching-options secure-access port]
        user@switch# set vlan vlan-name arp-inspection forwarding-class class-name
      • On all VLANs:
        [edit ethernet-switching-options secure-access port]
        user@switch# set vlan all arp-inspection forwarding-class class-name

    Published: 2013-08-15