Logfile Save; Reset Logbuffer; Reset Trapbuffer - H3C SR6600 Command Reference Manual

Network management and monitoring command reference
Hide thumbs Also See for SR6600:
Table of Contents

Advertisement

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.
228

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sr6600-x

Table of Contents