
76
Step Command
Remarks
enabled.
4.
(Optional.) Configure the
maximum size of the
diagnostic log file.
info-center diagnostic-logfile
quota size
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.
5.
(Optional.) Specify the
directory to save diagnostic
log file.
info-center diagnostic-logfile
directory
dir-name
The default diagnostic log file
directory is
flash:/diagfile
.
This command cannot survive an
IRF reboot or a
master/subordinate switchover.
6.
Save the diagnostic logs in
the diagnostic log file buffer
to the diagnostic log file.
•
Configure the interval to
perform the saving
operation:
info-center
diagnostic-logfile
frequency
freq-sec
•
Manually save the diagnostic
logs in the buffer to the
diagnostic log file:
diagnostic-logfile save
The default saving interval is
86400 seconds.
The
diagnostic-logfile save
command is available in any view.
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 Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Set the maximum size of the
trace log file.
info-center diagnostic-logfile
quota
size
By default, the maximum size of
the trace log file is 1 MB.
Enabling synchronous information output
System log output interrupts ongoing configuration operations, obscuring 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 Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable synchronous
information output.
info-center synchronous
By default, synchronous
information output is disabled.