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:
•
deny
{
source
[
source-wildcard
] |
host source
|
any
} [
log
]
•
permit
{
source
[
source-wildcard
] |
host source
|
any
} [
log
]
5.
end
6.
show running-config
7.
copy running-config startup-config
DETAILED STEPS
Purpose
Command or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Switch>
enable
Step 1
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 2
Defines a standard IPv4 access list using a name, and enter
access-list configuration mode.
ip access-list standard name
Example:
Switch(config)#
ip access-list standard 20
Step 3
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.
Use one of the following:
Step 4
•
deny
{
source
[
source-wildcard
] |
host source
|
any
}
[
log
]
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
160
OL-29048-01
Configuring IPv4 ACLs
Creating Named Standard ACLs