Command Reference Syslog Commands
8.22 logging rate-limit
Use this command to enable log rate limit function to limit the output logs in a second in the global
configuration mode. Use the no form of this command to disable this function.
logging rate-limit { number | all number | console { number | all number } } [ except severity ]
no logging rate-limit
The number of logs that can be processed in a second in the
range from 1 to 10000.
Sets rate limit to all the logs with severity level 0 to 7.
Sets the amount of logs that can be shown in the console in a
second.
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.
Log severity level in the range from 0 to 7. The lower the level
is, the higher the severity is.
The log rate limit function is disabled by default.
Global configuration mode
Use this command to control the syslog outpt to prevent the massive log output.
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
Displays log information about modules of the system.
Displays basic configuration of log modules and log
information in the buffer.