Info-Center Timestamp Utc - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

Example
# Set the no-year-date time stamp for the output information sent to the log host.
<Sysname>
system-view
System View: return to User View with Ctrl+Z.
[Sysname] info-center timestamp loghost no-year-date

info-center timestamp utc

Syntax
info-center timestamp utc
undo info-center timestamp utc
View
System view
Parameter
None
Description
Use the info-center timestamp utc command to configure to add UTC time zone to the time stamp of
the date type output in each direction of the information center.
Use the undo info-center timestamp utc command to restore the default.
By default, the information center does not add UTC time zone to the time stamp of the date type in any
output direction.
Related command: display info-center, info-center timestamp, info-center timestamp loghost,
clock timezone.
Example
# Configure to add UTC time zone to the time stamp of the output information of the information center.
<Sysname>
system-view
System View: return to User View with Ctrl+Z.
[Sysname] info-center timestamp utc
# Display the time stamp configuration of the information center.
[Sysname] display info-center
Information Center: enabled
......
Information timestamp setting:
with utc
log - date, trap - date, debug - boot
# If you configure to add the UTC time zone in the time stamp, the system information is output as
follows:
%Dec 8 10:12:21:708 2006 [GMT+08:00:00] Sysname SHELL/5/LOGIN:- 1 - VTY(1.1.0.2) in unit1
login
1-16

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents