ACL Commands
ip access-list
The ip access-list global configuration mode command defines an IPv4 access list and places the
device in IPv4 access list configuration mode. Use the no form of this command to remove the
access list.
Syntax
•
ip access-list access-list-name
•
no ip access-list access-list-name
•
access-list-name — Specifies the name of the IPv4 access list.
Default Configuration
No IPv4 access list is defined.
Command Mode
Global Configuration mode.
User Guidelines
•
IPv4 ACLs are defined by a unique name. An IPv4 ACL and MAC ACL cannot share the same
name.
Example
The following example shows how to define an IPv4 access list called dell-access-1 and to place the
device in IPv4 access list configuration mode.
Console(config)# ip access-list dell-access-1
Console(config-ip-al)#
permit (IP)
The permit IP-Access List Configuration mode command permits traffic if the conditions defined in
the permit statement match.
91
ACL Commands