Time-based acl Learning Notes
Define the time range first, and then apply this to the acl statement when writing acl
R3 (config) # time-range workdays / / define the time range name
R3 (config-time-range) # periodic weekdays 8:00 to 18:00 / / define a time range
/ *
R1 (config-time-range) # periodic?
Friday Friday
Monday Monday
Saturday Saturday
Sunday Sunday
Thursday Thursday
Tuesday Tuesday
Wednesday Wednesday
Daily Every day of the week
Weekdays Monday thru Friday
Weekend Saturday and Sunday
, /
R3 (config) # access-list 111permit tcp host 172.16.3.1 host 2.2.2.2 eq telnet time-range time / / call time-range in the access control list