Specifications

3-306
Cisco Wide Area Application Services Command Reference
OL-11817-01
Chapter 3 CLI Commands
(config) ip access-list
Usage Guidelines Use access lists to control access to specific applications or interfaces on a WAAS device. An access
control list consists of one or more condition entries that specify the kind of packets that the WAAS
device will drop or accept for further processing. The WAAS device applies each entry in the order in
which it occurs in the access list, which by default is the order in which you configured the entry.
Note IP ACLs that are defined on a router take precedence over the IP ACLs that are defined on the WAE. IP
ACLs that are defined on a WAE take precedence over the WAAS application definition policies that are
defined on the WAE.
Within ACL configuration mode, you can use the editing commands (list, delete, and move) to display
the current condition entries, to delete a specific entry, or to change the order in which the entries will
be evaluated. To return to global configuration mode, enter exit at the ACL configuration mode prompt.
To create an entry, use a deny or permit keyword and specify the type of packets that you want the
WAAS device to drop or to accept for further processing. By default, an access list denies everything
because the list is terminated by an implicit deny any entry. Therefore, you must include at least one
permit entry to create a valid access list.
After creating an access list, you can include the access list in an access group using the access-group
command, which determines how the access list is applied. You can also apply the access list to a specific
application using the appropriate command. A reference to an access list that does not exist is the
equivalent of a permit any condition statement.
To work with access lists, enter either the ip access-list standard or ip access-list extended global
configuration command. Identify the new or existing access list with a name up to 30 characters long
beginning with a letter, or with a number. If you use a number to identify a standard access list, it must
be between 1 and 99; for an extended access list, use a number from 100 to 199. You must use a standard
access list for providing access to the SNMP server or to the TFTP gateway/server. However, you can
use either a standard access list or an extended access list for providing access to the WCCP application.
After you identify the access list, the CLI enters the appropriate configuration mode and all subsequent
commands apply to the specified access list. The prompt for each configuration mode is shown in the
following examples.
WAE(config)# ip access-list standard test
WAE(config-std-nacl)# exit
WAE(config)# ip access-list extended test2
WAE(config-ext-nacl)#
Examples The following commands create an access list on the WAAS device. You create this access list to allow
the WAAS device to accept all web traffic that is redirected to it, but limits host administrative access
using SSH:
WAE(config)# ip access-list extended example
WAE(config-ext-nacl)# permit tcp any any eq www
WAE(config-ext-nacl)# permit tcp host 10.1.1.5 any eq ssh
WAE(config-ext-nacl)# exit
The following commands activate the access list for an interface:
WAE(config)# interface gigabitethernet 1/0
WAE(config-if)# ip access-group example in
WAE(config-if)# exit