228
Examples
# Output system 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
Use
logfile save
to manually save logs in the log file buffer into the log file.
Syntax
logfile save
Default
The system automatically saves logs from the log buffer to the log file at the interval configured by the
info-center logfile frequency
command. The directory for the log file can be specified using the
info-center logfile switch-directory
command.
Views
Any view
Default command level
2: System level
Usage guidelines
The system clears the log file buffer after saving logs from the buffer to the log file automatically or
manually.
Examples
# Save logs in the log file buffer into the log file.
<Sysname> logfile save
reset logbuffer
Use
reset logbuffer
to clear the log buffer.
Syntax
reset logbuffer
Views
User view
Default command level
3: Manage level
Examples
# Clear the log buffer.
<Sysname> reset logbuffer
reset trapbuffer
Use
reset trapbuffer
to clear the trap buffer.
Summary of Contents for SR6600 SPE-FWM
Page 8: ...vi Index 254 ...