1-14
# Set the output channel for the log information of VLAN module to
snmpagent
and to output
information with severity being
emergencies
. Log information of other modules and all the other
system information cannot be output to this channel.
<Sysname> system-view
[Sysname] info-center source default channel snmpagent debug state off log state off trap
state off
[Sysname] info-center source vlan channel snmpagent log level emergencies state on
info-center synchronous
Syntax
info-center synchronous
undo info-center synchronous
View
System view
Parameters
None
Description
Use the
info-center synchronous
command to enable synchronous information output, so that if
system information (such as log information) is output when the user is inputting information, the
command prompt and the input information are echoed after the output (note that, the command prompt
is echoed in command edit state but is not echoed in interactive state).
Use the
undo info-center synchronous
command to disable synchronous information output.
By default, the synchronous information output function is disabled.
z
The synchronous information output function is used in the case that your input is interrupted by a
large amount of system output. With this function enabled, the system echoes your previous input
and you can continue your operations from where you were stopped.
z
Running the
info-center synchronous
command during debugging information collection may
result in a command prompt echoed after each item of debugging information. To avoid
unnecessary output, it is recommended to disable synchronous information output in such case.
Examples
# Enable synchronous information output.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname]info-center synchronous
Current IC terminal output sync is on