CLI Reference Guide-R04

Table Of Contents
Chapter 4
| System Management Commands
Time Range
– 177 –
Command Usage
Note that when SNTP is enabled, the system clock cannot be manually configured.
Example
This example shows how to set the system clock to 15:12:34, February 1st, 2015.
Console#calendar set 18 12 34 17 july 2018
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 12 02:53:58 2015
Time Zone : UTC, 00:00
Summer Time : DEST, offset 60 minutes
Apr 1 2007 23:23 to Apr 23 2015 23:23
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.
Table 27: 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 absolute 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