Info-Center Syslog Min-Age - HPE FlexNetwork 7500 Series Network Management And Monitoring Command Reference

Hide thumbs Also See for FlexNetwork 7500 Series:
Table of Contents

Advertisement

Enter configuration to complete the display current-configuration command, and press the
Enter key to execute the command.
# 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 logs stored in the log buffer
and log file.
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 log minimum storage period is not configured.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
min-age: Sets the log minimum storage period in hours. The value range is 1 to 8760.
Usage guidelines
When the log buffer or log file is full, new logs will automatically overwrite the oldest logs by default.
After the minimum storage period is set, the system identifies the storage period of a log to determine
whether to delete the log. The system current time minus a log's generation time is the log's storage
period.
If the storage period of a log is shorter than or equal to the minimum storage period, the system
does not delete the log. The new log will not be saved.
If the storage period of a log is longer than the minimum storage period, the system deletes the
log to save the new log.
Examples
# Set the log minimum storage period to 168 hours.
<Sysname> system-view
[Sysname] info-center syslog min-age 168
384

Advertisement

Table of Contents
loading

Table of Contents