442
# Enable synchronous information output, and then save the current configuration (enter interactive
information).
<Sysname> system-view
[Sysname] info-center synchronous
Info-center synchronous output is on
[Sysname] save
The current configuration will be written to the device. Are you sure? [Y/N]:
At this time, the system receives the log information. It displays the log information first and then
displays [Y/N].
%May 21 14:33:19:425 2007 Sysname SHELL/4/LOGIN: VTY login from 192.168.1.44
[Y/N]:
Enter Y or N to complete your input.
info-center syslog min-age
Use info-center syslog min-age to set the minimum storage period for log files and logs in the log
buffer.
Use undo info-center syslog min-age to restore the default.
Syntax
info-center syslog min-age min-age
undo info-center syslog min-age
Default
The minimum storage period for log files and logs in the log buffer is not set.
Views
System view
Predefined user roles
network-admin
Parameters
min-age: Sets the minimum storage period in hours. The value range is 1 to 8760.
Examples
# Set the minimum storage period to 168 hours for log files and logs in the log buffer.
<Sysname> system-view
[Sysname] info-center syslog min-age 168
info-center syslog trap buffersize
Use info-center syslog trap buffersize to set the maximum number of log traps that can be stored
in the log trap buffer.
Use undo info-center syslog trap buffersize to restore the default.
Syntax
info-center syslog trap buffersize buffersize
undo info-center syslog trap buffersize