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, 2011.
Console#calendar set 15 12 34 1 February 2011
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 2013
Time Zone : UTC, 00:00
Summer Time : DEST, offset 60 minutes
Apr 1 2007 23:23 to Apr 23 2007 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 28: 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