100
logbuffer
: Outputs logs to the log buffer.
logfile
: Outputs logs to the log file.
loghost
: Outputs logs to the log host.
monitor
: Outputs logs to the monitor terminal.
deny
: Disables log output.
level severity
: Specifies a severity level in the range of 0 to 7. The smaller the severity value, the
higher the severity level. See
for more information. Logs at the specified severity level and
higher levels are allowed or denied to be output.
Usage guidelines
If you do not set an output rule for a module, the module uses the default output rule or the output
rule set by using the
default
keyword.
If you use the command multiple times, only the most recent output rule takes effect for the specified
module.
After you set an output rule for a module, you must use the
module-name
argument to modify or
remove the rule. A new output rule configured by using the
default
keyword does not take effect on
the module.
Examples
# Output only VLAN module's information with the emergency level to the console.
<Sysname> system-view
[Sysname] info-center source default console deny
[Sysname] info-center source vlan console level emergency
# Based on the previous configuration, disable output of VLAN module's information to the console
so no system information is output to the console.
<Sysname> system-view
[Sysname] undo info-center source vlan console
info-center synchronous
Use
info-center synchronous
to enable synchronous information output.
Use
undo info-center synchronous
to disable synchronous information output.
Syntax
info-center synchronous
undo info-center synchronous
Default
Synchronous information output is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
System log output interrupts ongoing configuration operations, including 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.