H3C S5830V2 Series Command Reference Manual page 90

Network management and monitoring
Hide thumbs Also See for S5830V2 Series:
Table of Contents

Advertisement

Output
destinatio
n
Log host
Log buffer
Log file
Views
System view
Predefined user roles
network-admin
Parameters
module-name: Specifies the output rules of the logs of the specified modules. For instance, if information
on FTP module is to be output, you can configure this argument as FTP. You can use the info-center
source ? command to view the modules supported by the device.
default: Specifies the output rules of the logs of all the modules allowed to output the logs, including all
the modules displayed by using the info-center source ? command.
console: Outputs logs to the console.
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 the severity levels of logs. For more information, see
you can specify the severity level of the logs allowed/denied to output.
Usage guidelines
Use this command to set the filter and redirection rules of logs. For example, the user can set to output
logs with severity level higher than warning to the log host, and logs with severity level higher than
informational to the log buffer. You can also set to output trap information of the IP module to a specified
output destination.
If you do not use the module-name argument to set output rules for a module, the module uses the
default output rules or the output rules set by the default keyword; otherwise the module uses the
output rules separately set for it.
If you repeatedly use the command to set the output rules for a module or for all the modules with
the default keyword, the last configured output rules take effect.
Log
System
informati
Enabled/
on source
disabled
All
supported
Enabled
modules
All
supported
Enabled
modules
All
supported
Enabled
modules
Security log
Enabled/
Level
disabled
Informatio
Disabled
nal
Informatio
Disabled
nal
Informatio
Disabled
nal
82
Hidden log
Enabled/
Level
disabled
N/A
Enabled
N/A
Enabled
N/A
Enabled
Table
25. With this keyword,
Level
Informatio
nal
Informatio
nal
Informatio
nal

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820v2 series

Table of Contents