HP MSR2000/3000/4000 Router Series Network Management and Monitoring Command Reference
245
Destination
Source
modules
Common log Security log
Diagnostic
lo
g
Hidden log
Log file
All supported
modules
informational Disabled Disabled informational
Security log
file
All supported
modules,
cannot be
filtered
Disabled
Debugging,
which cannot be
filtered
Disabled Disabled
Diagnostic
log file
All supported
modules,
cannot be
filtered
Disabled Disabled
Debugging,
which cannot
be filtered
Disabled
Views
System view
Predefined user roles
network-admin
Parameters
module-name: Specifies a module by its name. For instance, to output FTP information, specify this
argument as FTP. You can use the info-center source ? command to view the modules supported by the
device.
default: Specifies all modules, which can be 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 a 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. See Table 50 fo
r more information. With
this keyword, you can specify the lowest severity level of the logs allowed/denied to be output.
Usage guidelines
This command sets an output rule for a specified module or all modules. For example, you can output IP
log information with a severity of at least warning to the log host, and output IP log information with a
severity of at least informational to the log buffer.
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 a severity level of at least emergency to the console.