Chapter 4
| System Management Commands
Time Range
– 146 –
time-range
This command specifies the name of a time range, and enters time range
configuration mode. Use the
no
form to remove a previously specified time
range.
Syntax
[
no
]
time-range
name
name
- Name of the time range. (Range: 1-32 characters)
Default Setting
None
Command Mode
Global Configuration
Command Usage
◆
This command sets a time range for use by other functions, such as
Access Control Lists.
◆
A maximum of eight rules can be configured for a time range.
Example
Console(config)#time-range r&d
Console(config-time-range)#
Related Commands
absolute
This command sets the absolute time range for the execution of a command.
Use the
no
form to remove a previously specified time.
Syntax
absolute start
hour minute day month year
[
end
hour minutes day month year
]
absolute end
hour minutes day month year
no absolute
hour
- Hour in 24-hour format. (Range: 0-23)
minute
- Minute. (Range: 0-59)
day
- Day of month. (Range: 1-31)
month
-
january
|
february
|
march
|
april
|
may
|
june
|
july
|
august
|
september
|
october
|
november
|
december
year
- Year (4-digit). (Range: 2013-2037)