H3C S7500E Series Ethernet Switches Operation Manual
Operation Manual – Information Center
H3C S7500E Series Ethernet Switches Chapter 1 Information Center Configuration
1-14
To do… Use the command… Remarks
Configure the format of
the timestamp
info-center timestamp
{ debugging | log |
trap } { boot | date |
none }
Optional
The time stamp format for
log, trap and debugging
information is date by
default.
Note:
To ensure that system information can be output to the SNMP NMS, you need to make
the necessary configurations on the SNMP agent and the NMS. For detailed
information on SNMP, refer to SNMP-RMON Configuration.
1.2.8 Setting to Save System Information to a Log File
With the log file feature enabled, the log information generated by system can be saved
to a specified directory with a predefined frequency. This allows you to check the
operation history at any time to ensure that the device functions properly.
Follow these steps to set to save system information to a log file:
To do…
Use the
command…
Remarks
Enter system view
system-view
—
Enable the log file feature
info-center logfile
enable
Optional
Enabled by default
Configure the frequency
with which the log file is
saved
info-center logfile
frequency freq-sec
Optional
86400 seconds by default.
Configure the maximum
storage space reserved
for a log file
info-center logfile
size-quota size
Optional
1 MB by default.
Configure the directory to
save the log file
info-center logfile
switch-directory
dir-name
Optional
The default directory is the
logfile directory under the root
directory of the CF card.
Manually save the log
buffer content to the log
file
logfile save
Optional
Available in any view
By default, the system saves
the log file with the frequency
defined by the info-center
logfile frequency command.