Configuration Guide Configuring Syslog
Run the logging rate-limit { number | all number | console {number | all number } } [ except [ severity ] ] command in global
configuration mode to configure the log rate limit.
 Configuring the Level of Logs Sent to the Console
By default, the level of logs sent to the Console is debugging (Level 7).
Run the logging console [ level ] command in global configuration mode to configure the level of logs that can be sent to the
Console.
 Sending Logs to the Monitor Terminal
By default, it is not allowed to send logs to the monitor terminal.
Run the terminal monitor command in the privileged EXEC mode to send logs to the monitor terminal.
 Configuring the Level of Logs Sent to the Monitor Terminal
By default, the level of logs sent to the monitor terminal is debugging (Level 7).
Run the logging monitor [ level ] command in global configuration mode to configure the level of logs that can be sent to the
monitor terminal.
 Writing Logs into the Memory Buffer
By default, logs are written into the memory buffer, and the default level of logs is debugging (Level 7).
Run the logging buffered [ buffer-size ] [ level ] command in global configuration mode to configure parameters for writing
logs into the memory buffer, including the buffer size and log level.
 Sending Logs to the Log Server
By default, logs are not sent to the log server.
Run the logging server { ip-address | ipv6 ipv6-address } [ udp-port port ] command in global configuration mode to send
logs to a specified log server.
 Configuring the Level of Logs Sent to the Log Server
By default, the level of logs sent to the log server is informational (Level 6).
Run the logging trap [ level ] command in global configuration mode to configure the level of logs that can be sent to the log
server.
 Configuring the Facility Value of Logs Sent to the Log Server
If the RFC5424 log format is disabled, the facility value of logs sent to the log server is local7 (23) by default. If the RFC5424
log format is enabled, the facility value of logs sent to the log server is local0 (16) by default.
Run the logging facility facility-type command in global configuration mode to configure the facility value of logs sent to the
log server.
 Configuring the Source Address of Logs Sent to the Log Server