The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
To create and modify standard access lists on a WAAS device for controlling access to interfaces or applications, use the ip access-list standard global configuration command. To disable a standard access list, use the no form of the command.
ip access-list standard {acl-name | acl-num}
An access list drops all packets unless you configure at least one permit entry.
Global configuration
application-accelerator
central-manager
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.
The following list contains examples of how IP ACLs can be used in environments that use WAAS devices:
•A WAAS device resides on the customer premises and is managed by a service provider, and the service provider wants to secure the device for its management only.
•A WAAS device is deployed anywhere within the enterprise. As with routers and switches, the administrator wants to limit Telnet, SSH, and WAAS GUI access to the IT source subnets.
•An application layer proxy firewall with a hardened outside interface has no ports exposed. (Hardened means that the interface carefully restricts which ports are available for access, primarily for security reasons. With an outside interface, many types of security attacks are possible.) The WAE's outside address is Internet global, and its inside address is private. The inside interface has an IP ACL to limit Telnet, SSH, and WAAS GUI access to the device.
•A WAAS device using WCCP is positioned between a firewall and an Internet router or a subnet off the Internet router. Both the WAAS device and the router must have IP ACLs.
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 create a standard access list, enter the ip access-list standard 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.
Note 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.
You typically use a standard access list to allow connections from a host with a specific IP address or from hosts on a specific network. To allow connections from a specific host, use the permit host source-ip option and replace source-ip with the IP address of the specific host.
To allow connections from a specific network, use the permit host source-ip wildcard option. Replace source-ip with a network ID or the IP address of any host on the network that you want to specify. Replace wildcard with the dotted decimal notation for a mask that is the reverse of a subnet mask, where a 0 indicates a position that must be matched and a 1 indicates a position that does not matter. For instance, the wildcard 0.0.0.255 causes the last eight bits in the source IP address to be ignored. Therefore, the permit 192.168.1.0 0.0.0.255 entry allows access from any host on the 192.168.1.0 network.
After you identify the standard access list, the CLI enters the standard ACL configuration mode and all subsequent commands apply to the specified access list.
WAE(config)# ip access-list standard teststdacl
WAE(config-std-nacl)# exit
The following example creates a standard access list on the WAAS device that permits any packets from source IP address 192.168.1.0 for further processing.
WAE(config)# ip access-list standard teststdacl
WAE(config-std-nacl)# permit 192.168.1.0 any
WAE(config-std-nacl)# exit
The following commands activate the access list for an interface:
WAE(config)# interface gigabitethernet 1/0
WAE(config-if)# ip access-group teststdacl in
WAE(config-if)# exit
The following example shows how this configuration appears when you enter the show running-configuration command:
...
!
interface GigabitEthernet 1/0
ip address 10.1.1.50 255.255.0.0
ip access-group teststdacl in
exit
. . .
ip access-list standard teststdacl
permit 192.168.1.0 any
exit
. . .
To delete a line from the standard IP ACL, use the delete command.
delete line-num
delete |
Deletes the specified entry. |
line-num |
Identifies the entry at a specific line number in the access list. |
Standard ACL configuration mode
application-accelerator
central-manager
The following example deletes line 10 from the standard IP ACL teststdacl.
WAE(config)# ip access-list standard teststdacl
WAE(config-std-nacl)# delete 10
To add a line to a standard access-list that specifies the type of packets that you want the WAAS device to drop, use the deny command.
[insert line-num] deny {source-ip [wildcard] | host source-ip | any}
To negate a standard IP ACL, use the following syntax.
no deny {source-ip [wildcard] | host source-ip | any}
An access list drops all packets unless you configure at least one permit entry.
Standard ACL configuration mode
application-accelerator
central-manager
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.
You typically use a standard access list to allow connections from a host with a specific IP address or from hosts on a specific network. To allow connections from a specific host, use the permit host source-ip option and replace source-ip with the IP address of the specific host.
To allow connections from a specific network, use the permit host source-ip wildcard option. Replace source-ip with a network ID or the IP address of any host on the network that you want to specify. Replace wildcard with the dotted decimal notation for a mask that is the reverse of a subnet mask, where a 0 indicates a position that must be matched and a 1 indicates a position that does not matter. For instance, the wildcard 0.0.0.255 causes the last eight bits in the source IP address to be ignored. Therefore, the permit 192.168.1.0 0.0.0.255 entry allows access from any host on the 192.168.1.0 network.
The following example creates standard access-list that denies any packets from source IP address 192.168.1.0 for processing.
WAE(config)# ip access-list standard teststdacl
WAE(config-std-nacl)# deny 192.168.1.0 any
WAE(config-std-nacl)# exit
The following commands activate the standard access list for an interface:
WAE(config)# interface gigabitethernet 1/0
WAE(config-if)# ip access-group teststdacl in
WAE(config-if)# exit
The following example shows how this configuration appears when you enter the show running-configuration command:
...
!
interface GigabitEthernet 1/0
ip address 10.1.1.50 255.255.0.0
ip access-group teststdacl in
exit
. . .
ip access-list standard example
deny 192.168.1.0 any
exit
. . .
To terminate standard ACL configuration mode and return to the global configuration mode, use the exit command.
exit
This command has no arguments or keywords.
No default behavior or values
All modes
application-accelerator
central-manager
The following example terminates standard ACL configuration mode and returns to global configuration mode:
WAE(config-std-nacl)# exit
WAE(config)#
To display a list of specified entries within the standard IP ACL, use the list command.
list [start-line-num [end-line-num]]
list |
Lists the specified entries (or all entries when none are specified). |
start-line-num |
Line number from which the list begins. |
end-line-num |
(Optional) Last line number in the list. |
Standard ACL configuration mode
application-accelerator
central-manager
The following example displays a list of specified entries within the standard IP ACL.
WAE(config)# ip access-list standard teststdacl
WAE(config-std-nacl)# list 25 50
To move a line to a new position within the standard IP ACL, use the move command.
move old-line-num new-line-num
Standard ACL configuration mode
application-accelerator
central-manager
The following example moves a line to a new position within the standard IP ACL.
WAE(config)# ip access-list standard teststdacl
WAE(config-std-nacl)# move 25 30
To add a line to a standard access-list that specifies the type of packets that you want the WAAS device to accept for further processing, use the permit command.
[insert line-num] permit {source-ip [wildcard] | host source-ip | any}
To negate a standard IP ACL, use the following syntax.
no permit {source-ip [wildcard] | host source-ip | any}
An access list drops all packets unless you configure at least one permit entry.
Standard ACL configuration mode
application-accelerator
central-manager
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.
You typically use a standard access list to allow connections from a host with a specific IP address or from hosts on a specific network. To allow connections from a specific host, use the permit host source-ip option and replace source-ip with the IP address of the specific host.
To allow connections from a specific network, use the permit host source-ip wildcard option. Replace source-ip with a network ID or the IP address of any host on the network that you want to specify. Replace wildcard with the dotted decimal notation for a mask that is the reverse of a subnet mask, where a 0 indicates a position that must be matched and a 1 indicates a position that does not matter. For instance, the wildcard 0.0.0.255 causes the last eight bits in the source IP address to be ignored. Therefore, the permit 192.168.1.0 0.0.0.255 entry allows access from any host on the 192.168.1.0 network.
The following example creates standard access-list that permits any packets from source IP address 192.168.1.0 for further processing.
WAE(config)# ip access-list standard teststdacl
WAE(config-std-nacl)# permit 192.168.1.0 any
WAE(config-std-nacl)# exit
The following commands activate the standard access list for an interface:
WAE(config)# interface gigabitethernet 1/0
WAE(config-if)# ip access-group teststdacl in
WAE(config-if)# exit
The following example shows how this configuration appears when you enter the show running-configuration command:
...
!
interface GigabitEthernet 1/0
ip address 10.1.1.50 255.255.0.0
ip access-group teststdacl in
exit
. . .
ip access-list standard example
permit 192.168.1.0 any
exit
. . .