CLI Reference Guide Syslog Configuration Commands
The following example enables log redirection on the device:
Ruijie(config)#logging rd on
View log information about modules of the system.
View basic configuration of the log module and log
information in the log buffer.
logging rd rate-limit
Configure the command on the host in global configuration mode to enable the rate limit on log
redirection function in VSU environment and limit log information allowed to be redirected from the
slave or backup device to the host per second. Use the no form of this command to disable the log
redirection rate restricting function.
logging rd rate-limit number [ except [ severity ] ]
no logging rd rate-limit
Log information allowed to be redirected per second, which ranges
from 1 to 10000.
No rate limit is imposed on log information on and below this error
level. The default error level is error (3), no rate limit is imposed on
log information on and below the error level.
The error level ranges from 0 to 7. The lower the level is, the higher
the severity is.
By default, 200 logs can be redirected each second at most.
Global configuration mode
This command is used to control output of redirected log information. Use this command to prevent
massive log information from being redirected from the slave or backup device to the host.
The following example sets the number of logs, including debug, allowed to be redirected from the
slave device to the host per second to 10. The limit is not imposed on logs on the warning or higher
error level:
Ruijie(config)#logging rd rate-limit 10 except warnings