HP 6125G HP 6125G & 6125G/XG Blade Switches Network Management and Mon - Page 54
info-center timestamp loghost
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 54 highlights
system-view [Sysname] info-center timestamp log boot At this time, if you log in to the FTP server by using the username ftp, the log information generated is as follows: %0.109391473 Sysname FTPD/5/FTPD_LOGIN: User ftp (192.168.1.23) has logged in successfully. # Configure the time stamp format for log information as date. system-view [Sysname] info-center timestamp log date At this time, if you log in to the FTP server by using the username ftp, the log information generated is as follows: %Jan 30 05:36:29:579 2011 Sysname FTPD/5/FTPD_LOGIN: User ftp (192.168.1.23) has logged in successfully. # Configure the time stamp format for log information as none. system-view [Sysname] info-center timestamp log none At this time, if you log in to the FTP server by using the username ftp, the log information generated is as follows: % Sysname FTPD/5/FTPD_LOGIN: User ftp (192.168.1.23) has logged in successfully. info-center timestamp loghost Syntax info-center timestamp loghost { date | iso | no-year-date | none } View undo info-center timestamp loghost System view Default level 2: System level Parameters date: Sets the time stamp format as "Mmm dd hh:mm:ss:sss yyyy". For example, Jan 8 10:12:21:708 2011. However, the actual format depends on the log host. iso: Sets the ISO 8601 time stamp format. For example, 2011-01-21T15:32:55. no-year-date: Sets the time stamp format as the current system date and time without year. none: Indicates that no time stamp information is provided. Description Use info-center timestamp loghost to configure the time stamp format for system information sent to the log host. Use undo info-center timestamp loghost to restore the default. By default, the time stamp format for system information sent to the log host is date. Related commands: info-center timestamp. 48