Creating Named Standard ACLs
Related Topics
Configuring VLAN Maps, on page 172
Creating Named Standard ACLs
Follow these steps to create a standard ACL using names:
SUMMARY STEPS
1. enable
2. configure terminal
3. ip access-list standard name
4. Use one of the following:
5. end
6. show running-config
7. copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Switch> enable
Step 2
configure terminal
Example:
Switch# configure terminal
Step 3
ip access-list standard name
Example:
Switch(config)# ip access-list standard 20
Step 4
Use one of the following:
• deny {source [source-wildcard] | host source | any}
[log]
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
160
• deny {source [source-wildcard] | host source | any} [log]
• permit {source [source-wildcard] | host source | any} [log]
Purpose
Enables privileged EXEC mode. Enter your password if
prompted.
Enters the global configuration mode.
Defines a standard IPv4 access list using a name, and enter
access-list configuration mode.
The name can be a number from 1 to 99.
In access-list configuration mode, specify one or more
conditions denied or permitted to decide if the packet is
forwarded or dropped.
Configuring IPv4 ACLs
OL-29048-01