Configuring The Maximum Size Of The Trace Log File; Enabling Synchronous Information Output - HP 5920 Configuration Manual

Table of Contents

Advertisement

Step
4.
(Optional.) Configure the
maximum size of the
diagnostic log file.
5.
(Optional.) Specify the
directory to save diagnostic
log files.
6.
Save the diagnostic logs in the
diagnostic log file buffer to the
diagnostic log file.

Configuring the maximum size of the trace log file

The device has only one trace log file. When the trace log file is full, the device overwrites the oldest trace
logs with new ones.
To set the maximum size of the trace log file:
Step
1.
Enter system view.
2.
Set the maximum size of the
trace log file.

Enabling synchronous information output

The system log output interrupts ongoing configuration operations, obscuring the previously entered
commands. Synchronous information output shows the obscured commands. It also provides a command
prompt in command editing mode, or a [Y/N] string in interaction mode so you can continue your
operation from where you were stopped.
To enable synchronous information output:
Step
1.
Enter system view.
Command
info-center diagnostic-logfile quota
size
info-center diagnostic-logfile
directory dir-name
Method 1: Configure the
interval to perform the saving
operation:
info-center diagnostic-logfile
frequency freq-sec
Method 2: Manually save the
diagnostic logs in the buffer to
the diagnostic log file:
diagnostic-logfile save
Command
system-view
info-center diagnostic-logfile quota
size
Command
system-view
88
Remarks
By default, the maximum size is 10
MB.
To ensure normal operation, set the
size argument to a value between
1 MB and 10 MB.
The default directory is
flash:/diagfile.
This command cannot survive an
IRF reboot or a master/subordinate
switchover.
The default saving interval is
86400 seconds.
The diagnostic-logfile save
command is available in any view.
Remarks
N/A
By default, the maximum size of the
trace log file is 1 MB.
Remarks
N/A

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900

Table of Contents