Purpose
Command or Action
•
host source
—
A source and source wildcard of
source
0.0.0.0.
•
permit
{
source
[
source-wildcard
] |
host source
|
any
} [
log
]
•
any
—
A source and source wildcard of 0.0.0.0
255.255.255.255.
Example:
Switch(config-std-nacl)#
deny 192.168.0.0
0.0.255.255 255.255.0.0 0.0.255.255
or
Switch(config-std-nacl)#
permit 10.108.0.0
0.0.0.0 255.255.255.0 0.0.0.0
Returns to privileged EXEC mode.
end
Example:
Switch(config-std-nacl)#
end
Step 5
Verifies your entries.
show running-config
Example:
Switch#
show running-config
Step 6
(Optional) Saves your entries in the configuration file.
copy running-config startup-config
Example:
Switch#
copy running-config startup-config
Step 7
Creating Extended Named ACLs
Follow these steps to create an extended ACL using names:
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
OL-29048-01
161
Configuring IPv4 ACLs
Creating Extended Named ACLs