Command Reference Syslog Commands
configuration mode. The no form of this command disables log rate limit function.
logging rate-limit { number | all number | console {number | all number } } [ except severity ]
no logging rate-limit
Parameter
Description
Parameter Description
number
The number of logs that can be processed in a second in the range
from 1 to 10000.
all
Sets rate limit to all the logs with severity level 0 to 7.
console
Sets the amount of logs that can be shown in the console in a
second.
except
By default, the severity level is error (3). The rate of the log whose
severity level is less than or equal to error (3) is not controlled.
severity
Log severity level in the range from 0 to 7. The lower the level is, the
higher the severity is.
Defaults
The log rate limit function is disabled by default.
Command
Mode
Global configuration mode
Usage Guide
Use this command to control the syslog outpt to prevent the massive log output.
Configuration
Examples
The following example sets the number of the logs (including debug) that can be processed in a
second as 10. However, the logs with warning or higher severity level are not controlled:
Ruijie(config)#logging rate-limit all 10 except warnings
Related
Commands
Command Description
show logging count
Views log information about modules of the
system.
show logging
Views basic configuration of log modules and
log information in the buffer.
Platform
Description
N/A
logging server
Use this command to record the logs in the specified Syslog Sever in global configuration mode. Use
the no form of the command to disable the function.
logging server { ip-address [ vrf vrf-name ] | ipv6 ipv6-address }