CLI Reference Guide-R04

Table Of Contents
Chapter 10
| Access Control Lists
ARP ACLs
– 399 –
ARP ACLs
The commands in this section configure ACLs based on the IP or MAC address
contained in ARP request and reply messages. To configure ARP ACLs, first create an
access list containing the required permit or deny rules, and then bind the access
list to one or more VLANs using the ip arp inspection vlan command.
access-list arp This command adds an ARP access list and enters ARP ACL configuration mode. Use
the no form to remove the specified ACL.
Syntax
[no] access-list arp acl-name
acl-name – Name of the ACL. (Maximum length: 32 characters)
Default Setting
None
Command Mode
Global Configuration
Command Usage
When you create a new ACL or enter configuration mode for an existing ACL,
use the permit or deny command to add new rules to the bottom of the list. To
create an ACL, you must add at least one rule to the list.
To remove a rule, use the no permit or no deny command followed by the
exact text of a previously configured rule.
An ACL can contain up to 1K rules.
Example
Console(config)#access-list arp factory
Console(config-arp-acl)#
Table 72: ARP ACL Commands
Command Function Mode
access-list arp Creates a ARP ACL and enters configuration mode GC
permit, deny Filters packets matching a specified source or destination
address in ARP messages
ARP-ACL
show access-list arp Displays the rules for configured ARP ACLs PE
show arp access-list Displays the rules for configured ARP ACLs PE