Cisco ASR 14000 Series Management Command Reference page 740

Router system
Hide thumbs Also See for ASR 14000 Series:
Table of Contents

Advertisement

utility date
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
Keywords are entered using the displayed syntax, or with UNIX-equivalent syntax. The
Note
UNIX-equivalent syntax is displayed in parentheses () in the syntax description. For example, the
keyword universal can also be entered using the UNIX-equivalent (-u). To display the UNIX-equivalent
syntax online, enter the keyword usage.
Task ID
Task ID
universal
Examples
The following example shows how to display the router date and time using the utility date command:
RP/0/RP0/CPU0:router# utility date
Fri Aug 04 11:53:38 UTC 2006
The following example shows how to display the router date and time using a variety of options with the
format keyword:
RP/0/RP0/CPU0:router# utility date format "%y%m%d"
060828
RP/0/RP0/CPU0:router# utility date format "%y-%m-%d"
06-08-28
RP/0/RP0/CPU0:router# utility date format "%C%y-%m-%d"
2006-08-28
RP/0/RP0/CPU0:router# utility date format "%C%y-%m-%d:%H:%M:%S"
2006-08-28:02:09:58
RP/0/RP0/CPU0:router# utility date format "DATE: %y-%m-%d %nTIME: %H:%M:%S"
DATE: 06-09-17
TIME: 12:42:24
Related Commands
Command
utility date set
Cisco ASR 14000 Series Router System Management Command Reference
SMR-738
%S: seconds in 'ss' form. For example: 24
Operations
execute
Description
Sets the internal date and time of the router.
Utility Commands on Cisco IOS XR Software
OL-17231-01

Advertisement

Table of Contents
loading

Table of Contents