Info-Center Timestamp; Info-Center Timestamp Loghost - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – Information Center
H3C S7500E Series Ethernet Switches

1.1.22 info-center timestamp

Syntax
info-center timestamp { debugging | log | trap } { boot | date | none }
undo info-center timestamp { debugging | log | trap }
View
System view
Parameters
debugging: Sets the timestamp format of the debugging information.
log: Sets the timestamp output format of the log information.
trap: Sets the timestamp output format of the trap information.
boot: The time taken to boot up the system, in the format of xxxxxx.yyyyyy, in which
xxxxxx represents the most significant 32 bits of the time taken to boot up the system
(in milliseconds) whereas yyyyyy is the least significant 32 bits.
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: Indicates no time information is provided.
Description
Use the info-center timestamp command to configure the timestamp format.
Use the undo info-center timestamp command to restore the default.
By default, the timestamp format of log, trap and debugging information is date.
Examples
# Configure the timestamp format for debugging information as boot.
<Sysname> system-view
[Sysname] info-center timestamp debugging boot

1.1.23 info-center timestamp loghost

Syntax
info-center timestamp loghost { date | no-year-date | none }
Chapter 1 Information Center Configuration
1-24
Commands

Advertisement

Table of Contents
loading

Table of Contents