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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |