![Cisco ASR 14000 Series Скачать руководство пользователя страница 740](http://html.mh-extra.com/html/cisco/asr-14000-series/asr-14000-series_management-command-reference_66667740.webp)
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
Utility Commands on Cisco IOS XR Software
utility date
SMR-738
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
•
%S
: seconds in 'ss' form. For example: 24
Note
Keywords are entered using the displayed syntax, or with UNIX-equivalent syntax. The
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
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
Task ID
Operations
universal
execute
Command
Description
Sets the internal date and time of the router.