Enabling synchronous information output – H3C Technologies H3C WX5500E Series Access Controllers User Manual
Page 56
48
Step Command
Remarks
6.
Configure the directory to
save the log file.
info-center logfile switch-directory
dir-name
Optional. By default, the log file is
saved in the root directory of the
flash.
The configuration made by this
command cannot survive a system
reboot.
7.
Manually save the log file
buffer content to the log file.
logfile save
Optional.
Available in any view.
By default, the system saves the log
file at the interval defined by the
info-center logfile frequency
command.
Enabling synchronous information output
The output of system logs interrupts ongoing configuration operations. You have to find the previously
input commands before the logs. Synchronous information output can show the previous input after log
output and 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.
If system information, such as log information, is output before you input any information under the
current command line prompt, the system does not display the command line prompt.
If system information is output when you are inputting some interactive information (non Y/N
confirmation information), the system displays your previous input in a new line but does not display the
command line prompt.
To enable synchronous information output:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable synchronous
information output.
info-center synchronous
Disabled by default.
Disabling an interface from generating link
up/down logging information
By default, all interfaces generate link up or link down log information when the state changes. In some
cases, you might want to disable specific interfaces from generating this information. For example:
•
You are concerned only about the states of some interfaces. In this case, you can use this function
to disable other interfaces from generating link up and link down log information.
•
An interface is unstable and continuously outputs log information. In this case, you can disable the
interface from generating link up and link down log information.
Use the default setting in normal cases to avoid affecting interface status monitoring.