CLI Reference Guide Syslog Configuration Commands
logging trap
Use this command to set the severity of logs that are allowed to be sent to the syslog server. The no
form of the command disables sending the logs to the syslog server.
logging trap level
no logging trap
Severity of the log message. The name of the severity or the
numeral can be used. For the details of log severity, see Table
60-1.
Global configuration mode.
To send logs to the Syslog Server, execute first the global configuration command logging to
configure the Syslog Server. Then, execute logging trap to specify the severity of logs to be sent.
The show logging command displays the related setting parameters and statistics of the log.
The example below enables logs at severity 6 to be sent to the Syslog Server at address
202.101.11.22:
Ruijie(config)# logging 202.101.11.22
Ruijie(config)# logging trap informational
Reocrd logs on different devicds.
Record logs to the Syslog server.
Show the logs and related log configuration parameters in the
buffer.
more flash
Use this command to show the contents of the logs stored in the FLASH.
more flash:filename