CLI Reference Guide-R05

Table Of Contents
Chapter 4
| System Management Commands
Time Range
– 155 –
Example
This example shows how to set the system clock to 15:12:34, February 1st, 2002.
Console#calendar set 15:12:34 1 February 2002
Console#
show calendar This command displays the system clock.
Default Setting
None
Command Mode
Normal Exec, Privileged Exec
Example
Console#show calendar
Current Time : Mar 6 20:22:05 2014
Time Zone : UTC, 00:00
Summer Time : Not configured
Summer Time in Effect : No
Console#
Time Range
This section describes the commands used to sets a time range for use by other
functions, such as Access Control Lists.
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-16 characters)
Table 24: Time Range Commands
Command Function Mode
time-range Specifies the name of a time range, and enters time range
configuration mode
GC
absolute Sets the time range for the execution of a command TR
periodic Sets the time range for the periodic execution of a
command
TR
show time-range Shows configured time ranges. PE