Command Manual (For Soliton) – Information Center
H3C S3100 Series Ethernet Switches
Chapter 1 Information Center Configuration
Commands
1-18
z
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.
z
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
1.1.17 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.