Configure Time Ranges - Cisco ASA Series Configuration Manual

Firewall cli, asa services module, and the adaptive security virtual appliance
Hide thumbs Also See for ASA Series:
Table of Contents

Advertisement

Chapter 2
Objects for Access Control
hostname(config-security-object-group)# description string

Configure Time Ranges

A time range object defines a specific time consisting of a start time, an end time, and optional recurring
entries. You use these objects on ACL rules to provide time-based access to certain features or assets.
For example, you could create an access rule that allows access to a particular server during working
hours only.
You can include multiple periodic entries in a time range object. If a time range has both absolute and
Note
periodic values specified, then the periodic values are evaluated only after the absolute start time is
reached, and they are not further evaluated after the absolute end time is reached.
Creating a time range does not restrict access to the device. This procedure defines the time range only.
You must then use the object in an access control rule.
Procedure
Create the time range.
Step 1
time-range name
(Optional.) Add a start or end time (or both) to the time range.
Step 2
absolute [start time date] [end time date]
If you do not specify a start time, the default start time is now.
The time is in the 24-hour format hh:mm. For example, 8:00 is 8:00 a.m. and 20:00 is 8:00 p.m.
The date is in the format day month year; for example, 1 January 2014.
(Optional.) Add recurring time periods.
Step 3
periodic days-of-the-week time to [days-of-the-week] time
You can specify the following values for days-of-the-week. Note that you can specify a second day of
the week only if you specify a single day for the first argument.
The time is in the 24-hour format hh:mm. For example, 8:00 is 8:00 a.m. and 20:00 is 8:00 p.m.
You can repeat this command to configure more than one recurring period.
Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, or Sunday. You can specify more
than one of these, separated by spaces, for the first days-of-the-week argument.
daily
weekdays
weekend
Cisco ASA Series Firewall CLI Configuration Guide
Configure Objects
2-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents