Configuration commands

Use these M4500 CLI commands to enable Dynamic ARP Inspection on VLANs and set validation checks, trusted ports, rate limits, and ARP ACL filters.

ip arp inspection validate

This command enables additional validation checks like source-mac validation, destination-mac validation, and ip address validation on the received ARP packets. To disable the additional validation checks on the received ARP packets, use the no form of this command.

Default Disable
Format

ip arp inspection validate {[src-mac] [dst-mac] [ip]}

no ip arp inspection validate {[src-mac] [dst-mac] [ip]}

Mode Global Config

ip arp inspection vlan

This command enables Dynamic ARP Inspection on a list of comma-separated VLAN ranges. To disable Dynamic ARP Inspection on a list of comma-separated VLAN ranges, use the no form of this command.

Default Disable
Format

ip arp inspection vlan <vlan-list>

no ip arp inspection vlan <vlan-list>

Mode Global Config
Term Definition
<vlan-list> Specifies VLAN ID in a list. The range of VLAN ID is 1 to 4093.

ip arp inspection vlan logging

This command enables logging of invalid ARP packets on a list of comma-separated VLAN ranges. To disable logging of invalid ARP packets on a list of comma-separated VLAN ranges, use the no form of this command.

Default Enable
Format

ip arp inspection vlan <vlan-list> logging

no ip arp inspection vlan <vlan-list> logging

Mode Global Config
Term Definition
<vlan-list> Specifies VLAN ID in a list. The range of VLAN ID is 1 to 4093.

ip arp inspection filter

This command configures the ARP ACL used to filter invalid ARP packets on a list of comma-separated VLAN ranges. If the static keyword is given, packets that do not match a permit statement are dropped without consulting the DHCP snooping bindings. To unconfigure the ARP ACL used to filter invalid ARP packets on a list of comma-separated VLAN ranges, use the no form of this command.

Default No ARP ACL is configured on a VLAN
Format

ip arp inspection filter <acl-name> vlan <vlan-list> [static]

no ip arp inspection filter <acl-name> vlan <vlan-list> [static]

Mode Global Config
Term Definition
<acl-name> Specifies the ARP access-list name up to 31 characters in length.
<vlan-list> Specifies VLAN ID in a list. The range of VLAN ID is 1 to 4093.
<static> Specifies ARP ACL is configured static.

ip arp inspection trust

This command configures an interface as trusted for Dynamic ARP Inspection. To configure an interface as untrusted for Dynamic ARP Inspection, use the no form of this command.

Default Disable
Format

ip arp inspection trust

no ip arp inspection trust

Mode Interface Config

ip arp inspection limit

This command configures the rate limit and burst interval values for an interface. Configuring none for the limit means the interface is not rate limited for Dynamic ARP Inspections. To set the rate limit and burst interval values for an interface to the default values, use the no form of this command.

Default 15 pps for rate and 1 second for burst-interval
Format

ip arp inspection limit {rate <pps> [burst interval <seconds>] | none}

no ip arp inspection limit

Mode Interface Config
Term Definition
<pps> Specifies rate limit in pps. The range of rate is 0 to 300.
<seconds> Specifies burst interval in seconds. The range of rate is 1 to 15.

arp access-list

This command creates an ARP ACL. To delete a configured ARP ACL, use the no form of this command.

Default None
Format

arp access-list <acl-name>

no arp access-list <acl-name>

Mode Global Config
Term Definition
<acl-name> Specifies the ARP access-list name up to 31 characters in length.

permit ip host mac host

This command configures a rule for a valid IP address and MAC address combination used in ARP packet validation. To delete a rule for a valid IP and MAC combination, use the no form of this command.

Default None
Format

permit ip host <sender-ip> mac host <sender-mac>

no permit ip host <sender-ip> mac host <sender-mac>

Mode ARP Access-list Config
Term Definition
<sender-ip> Specifies IP address in the ARP ACL rule.
<sender-mac> Specifies MAC address in the ARP ACL rule.

clear ip arp inspection statistics

This command resets the statistics for Dynamic ARP Inspection on all VLANs.

Default None
Format clear ip arp inspection statistics
Mode Privileged Exec