Specifications
Configuring the Switch
2-42
2
Configuring a Standard IP ACL
Command Attributes
• Action – An ACL can contain permit rules, deny rules, or a combination of both.
(Default: Permit rules)
• IP – Specifies the source IP address. Use “Any” to include all possible addresses,
“Host” to specify a specific host address in the Address field, or “IP” to specify a
range of addresses with the Address and SubMask fields. (Options: Any, Host, IP;
Default: Any)
• Address – Source IP address.
• SubMask – A subnet mask containing four integers from 0 to 255, each separated
by a period. The mask uses 1 bits to indicate “match” and 0 bits to indicate “ignore.”
The mask is bitwise ANDed with the specified source IP address, and compared
with the address for each IP packet entering the port(s) to which this ACL has been
assigned.
Web – Specify the action (i.e., Permit or Deny). Select the address type (Any, Host,
or IP). If you select “Host,” enter a specific address. If you select “IP,” enter a subnet
address and the mask for an address range. Then click Add.
Figure 2-27 Configuring Standard IP ACLs
CLI – This example configures one permit rule for the specific address 10.1.1.21
and another rule for the address range 168.92.16.x – 168.92.31.x using a bitmask.
Console(config-std-acl)#permit host 10.1.1.21 3-70
Console(config-std-acl)#permit 168.92.16.0 255.255.240.0
Console(config-std-acl)#










