Info-Center Timestamp Loghost - 3Com S7906E Command Reference Manual

6300 series
Hide thumbs Also See for S7906E:
Table of Contents

Advertisement

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 Ethernet 2/0/1 that is in the UP state, the log
information generated is as follows:
%0.1382605158 Sysname IFNET/4/LINK UPDOWN:
Ethernet2/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 Ethernet 2/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:
Ethernet2/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 Ethernet 2/0/1 that is in the UP state, the log
information generated is as follows:
% Sysname IFNET/4/LINK UPDOWN:
Ethernet2/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
Default Level
2: System level
1-23

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

S7910eS7906e-vS7903eS7903e-sS7902e

Table of Contents