EasyManuals Logo

H3C S5120-SI Series Command Reference

H3C S5120-SI Series
910 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #776 background imageLoading...
Page #776 background image
1-25
z Mmm: The abbreviations of the months in English, which could be Jan, Feb, Mar, Apr, May, Jun,
Jul, Aug, Sep, Oct, Nov, or Dec.
z dd: The date, starting with a space if less than 10, for example “ 7”.
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: 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 log information as boot.
<Sysname> system-view
[Sysname] info-center timestamp log boot
At this time, if you execute the shutdown command on GigabitEthernet1/0/1 that is in the UP state, the
log information generated is as follows:
%0.1382605158 Sysname IFNET/4/LINK UPDOWN:
GigabitEthernet1/0/1: link status is DOWN
# Configure the timestamp format for log information as date.
<Sysname> system-view
[Sysname] info-center timestamp log date
At this time, if you execute the shutdown command on GigabitEthernet1/0/1 that is in the UP state, the
log information generated is as follows:
%Sep 29 17:19:11:188 2007 Sysname IFNET/4/LINK UPDOWN:
GigabitEthernet1/0/1: link status is DOWN
# Configure the timestamp format for log information as none.
<Sysname> system-view
[Sysname] info-center timestamp log none
At this time, if you execute the shutdown command on GigabitEthernet1/0/1 that is in the UP state, the
log information generated is as follows:
% Sysname IFNET/4/LINK UPDOWN:
GigabitEthernet1/0/1: link status is DOWN
info-center timestamp loghost
Syntax
info-center timestamp loghost { date | no-year-date | none }
undo info-center timestamp loghost
View
System view

Table of Contents

Other manuals for H3C S5120-SI Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S5120-SI Series and is the answer not in the manual?

H3C S5120-SI Series Specifications

General IconGeneral
BrandH3C
ModelS5120-SI Series
CategorySwitch
LanguageEnglish

Related product manuals