6.4.4. ip acl

Syntax

ip acl NAME

no ip acl NAME

Parameter


NAME Specify the name of IPv4 ACL


Default

No default is defined

Mode

Global Configuration

Usage

Use the ip acl command to create an IPv4 access list and to enter ip-acl configuration mode. The name of ACL must be unique that can not have same name with other ACL or QoS policy. Once an ACL is created, an implicit “deny any” ACE created at the end of the ACL. That is, if there are no matches, the packets are denied. Use the no form of this command to delete.

Example

The example shows how to create an IP ACL. You can verify settings by the following show acl command

Switch(config)# ip acl iptest
Switch(ip-al)# show acl
IP access list iptest