PurposeCommand or Action
Sets conditions in a named IP access list that denies packets.
deny protocol host host-address any eq port
Example:
Device(config-ext-nacl)# deny tcp host
172.16.2.88 any eq telnet
Step 5
Exits extended named access list configuration mode and
enters privileged EXEC mode.
end
Example:
Device(config-ext-nacl)# end
Step 6
Configuring Time Ranges for ACLs
Follow these steps to configure a time-range parameter for an ACL:
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
time-range time-range-name
4.
Use one of the following:
• absolute [start time date] [end time date]
•
periodic day-of-the-week hh:mm to [day-of-the-week] hh:mm
•
periodic {weekdays | weekend | daily} hh:mm to hh:mm
5.
end
6.
show running-config
7.
copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Switch(config)# enable
Step 1
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1200
How to Configure ACLs