ACL Commands 75
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.
mac access-list
The mac access-list Global Configuration mode command enables the MAC-Access List
Configuration mode and creates Layer 2 ACLs. Use the no form of this command to delete an ACL.
Console(config)# ip access-list dell-access-1
Console(config-ip-al)#
5400_CLI.book Page 75 Wednesday, December 17, 2008 4:33 PM