Command Reference Guide

3Com Router 5000 Family and Router 6000 Family info-center timestamp loghost 209
Command Reference
info-center timestamp loghost
Purpose Use the info-center timestamp loghost command to set a time stamp
format for the system information output to the log host.
Use the undo info-center timestamp loghost command to restore the
default.
Syntax info-center timestamp loghost { date | no-year-date | none }
undo info-center timestamp loghost
Parameters date
Specifies to use the time stamp format containing the
year. With this keyword specified, the log information
will contain information about the year, for example,
“May 27 10:29:38 2005 3Com
%%10SHELL/5/CMD(l): task:co0 ip:** user:**
command:dis this”.
no-year-date
Specifies to use the time stamp format without the
year. With this keyword specified, the log information
will not contain information about the year, for
example, “May 27 10:29:54 3Com
%%10SHELL/5/CMD(l): task:co0 ip:** user:**
command:dis this”.
none
Specifies not to use time stamps. With this keyword
specified, the log information will not contain time
information, for example, “3Com
%%10SHELL/5/CMD(l): task:co0 ip:** user:**
command:dis this”.
Default By default, the date keyword applies.
Example Set the time stamp format to date for the system information output to the log host.
[Router] info-center timestamp loghost date
View This command can be used in the following views:
System view