Cisco Cisco ASR 5000

Page of 9109
Exec Mode show Commands (A-C)   
▀  show clock 
 
 
▄  Command Line Interface Reference, StarOS Release 18 
4458 
   
show clock 
Displays the current system data and time. 
Product
 
All 
Privilege
 
Security Administrator, Administrator, Operator, Inspector 
Mode
 
Exec 
The following prompt is displayed in the Exec mode: 
[local]host_name
Syntax
 
show clock [ universal ] [ | { grep grep_options | more } ] 
universal
 
Displays the date and time in universal coordinated time (UTC/GMT) format. 
| { grep grep_options | more }
 
Pipes (sends) the output of this command to the specified command. You must specify a command to which 
the output of this command will be sent. 
For details on the usage of 
grep
 and 
more
, refer to the Regulating a Command Output section of the 
Command Line Interface Overview chapter. 
Usage 
Check the current time of a chassis to compare with network wide time or for logging purposes if network 
accounting and/or event records appear to have inconsistent timestamps. 
Important:
  This command is not supported on all platforms. 
Example
 
The following displays the system time in local time and UTC, respectively. 
show clock 
show clock universal