3com S7906E 참조 가이드

다운로드
페이지 2327
 
1-25 
Examples 
# Configure the system to output information to the trap buffer through the default channel, and set the 
trap buffer size to 30. 
<Sysname> system-view 
[Sysname] info-center trapbuffer size 30 
logfile save 
Syntax 
logfile save 
View 
Any view 
Default Level 
2: System level 
Parameters 
None 
Description 
Use the logfile save command to save all the contents in the logfile buffer into the log file. 
By default, the system automatically saves the log file based on a frequency configured by the 
info-center logfile frequency command into a directory configured by the info-center logfile 
switch-directory command. 
Note that all contents in the logfile buffer will be cleared after they are successfully saved into the log file 
automatically or manually. 
 
 
By default, the log file is automatically saved to the logfile directory under root directory of the CF card 
(cf:/logfile). If there is no CF card, you can use the info-center logfile switch-directory command to 
configure the directory where a log file is saved, otherwise, the system will prompt you that the save 
operation failed. 
 
Examples 
# Save the contents in the logfile buffer into the log file. 
<Sysname> logfile save 
reset logbuffer 
Syntax 
reset logbuffer