Command Reference
Syslog Commands
remove one policy, Use the
no logging policy
command to remove all policies.
logging policy module
module-name
[
not-lesser-than
]
level
direction
{
all
|
server
|
file
|
console
|
monitor
|
buffer
}
no logging policy module
module-name
[
not-lesser-than
]
level
direction
{
all
|
server
|
file
|
console
|
monitor
|
buffer
}
no logging policy
Parameter
Description
Parameter
Description
module-name
The name of the module applying the ranking policy.
not-lesser-than
If this parameter is specified, only when the log
’s level is not lower
than the configured level can the log be sent. Otherwise, the log is
filtered.
If this parameter is not specified, only when the log
’s level is not
higher than the configured level can the log be sent. Otherwise, the
log is filtered.
level
Severity level
all
Applies the ranking policy in all directions.
server
Applies the ranking policy to the direction toward the server.
file
Applies the ranking policy to the direction toward the log file.
console
Applies the ranking policy to the direction toward the console.
monitor
Applies the ranking policy to the direction toward the remote server.
buffer
Applies the ranking policy to the direction toward the buffer.
Defaults
This function is disabled by default.
Command
Mode
Global configuration mode
Usage Guide
This command is used to send logs to different destinations based on module and severity.
Configuration
Examples
The following example sends logs of the SYS module leveled above 5 to the console and sends logs
of the SYS module leveled below 3 to the buffer.
Ruijie(config)# logging policy module SYS not-lesser-than 5 direction console
Ruijie(config)# logging policy module SYS 3 direction buffer
Related
Commands
Command
Description
N/A
N/A
Platform
Description
N/A
Содержание RG-S29 Series
Страница 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Страница 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Страница 93: ...Command Reference Line Commands Description...
Страница 236: ...Command Reference PoE Management Commands Related Commands Command Description N A N A Platform Description N A...
Страница 248: ...Command Reference PKG_MGMT Commands...
Страница 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Страница 350: ...Command Reference Voice VLAN Commands Description...
Страница 430: ...Command Reference LLDP Commands Description...
Страница 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Страница 541: ...Command Reference IPv6 Commands Platform Description N A...
Страница 858: ...Command Reference NSM Commands Description N A N A Defaults N A Command Mode Privileged EXEC mode Usage guideline N A...
Страница 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Страница 1092: ...Configuration Guide SCC Commands Platforms N A...
Страница 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Страница 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...