Info-Center Timestamp Loghost - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

date: The current system date and time, in the format of "Mmm dd hh:mm:ss:sss yyyy".
Mmm: The abbreviations of the months in English, which could be Jan, Feb, Mar, Apr, May, Jun,
Jul, Aug, Sep, Oct, Nov, or Dec.
dd: The date, starting with a space if less than 10, for example " 7".
hh:mm:ss:sss: The local time, with hh ranging from 00 to 23, mm and ss ranging from 00 to 59, and
sss ranging from 0 to 999.
yyyy: Represents the year.
none: Specifies not to include time stamp in the specified output information.
Description
Use the info-center timestamp command to set the format of time stamp included in the
log/trap/debugging information.
Use the undo info-center timestamp command to restore the default setting of time stamp format.
By default, the date time stamp is adopted for log and trap information, and the boot time stamp is
adopted for debugging information.
Example
# Set the boot time stamp for debugging information.
<Sysname>
system-view
System View: return to User View with Ctrl+Z.
[Sysname] info-center timestamp debugging boot

info-center timestamp loghost

Syntax
info-center timestamp loghost { date | no-year-date | none }
undo info-center timestamp loghost
View
System view
Parameter
date: Specifies to adopt the current system date and time, in the format of Mmm dd hh:mm:ss:ms yyyy.
no-year-date: Specifies to adopt the current system date and time excluding the year, in the format of
Mmm dd hh:mm:ss:ms.
none: Specifies not to include time stamp in the output information.
Description
Use the info-center timestamp loghost command to set the format of time stamp for the output
information sent to the log host.
Use the undo info-center timestamp loghost command to restore the default setting of time stamp
format.
By default, the date time stamp is adopted.
1-15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents