4
OL-32830-01 Command Line Interface Reference Guide
111
ACL Commands
4.0
4.1
ip access-list (IP extended)
Use the ip access-list extended Global Configuration mode command to name an
IPv4 access list (ACL) and to place the device in IPv4 Access List Configuration
mode. All commands after this command refer to this ACL. The rules (ACEs) for this
ACL are defined in the
permit ( IP )
and
deny ( IP )
commands. The
service-acl input
command is used to attach this ACL to an interface.
Use the no form of this command to remove the access list.
Syntax
ip access-list extended
acl-name
no ip access-list extended
acl-nam
e
Parameters
•
acl-name—Name of the IPv4 access list. (Range 1-32 characters)
Default Configuration
No IPv4 access list is defined.
Command Mode
Global Configuration mode
User Guidelines
An IPv4 ACL is defined by a unique name. IPv4 ACL, IPv6 ACL, MAC ACL or policy
maps cannot have the same name.
Example
switchxxxxxx(config)#
ip access-list
extended
server
switchxxxxxx(config-ip-al)#
Summary of Contents for 300 Series
Page 2: ......