Configuration Guide Configuring Syslog
Configuring Syslog Format
(Optional) It is used to configure the syslog format.
service timestamps [ message-type
[ uptime| datetime [ msec ] [ year ] ] ]
Configures the timestamp format of syslogs.
Adds the sysname to the syslog.
Adds the sequence number to the syslog.
Enables the standard syslog format.
Enables the private syslog format.
service log-format rfc5424
Enables the RFC5424 syslog format.
Sending Syslogs to the
Console
(Optional) It is used to configure parameters for sending syslogs to the Console.
logging console [ level ]
Configures the level of logs displayed on the
Console.
logging rate-limit { number | all number |
console {number | all number } } [ except
[ severity ] ]
Configures the log rate limit.
Sending Syslogs to the
Monitor Terminal
(Optional) It is used to configure parameters for sending syslogs to the monitor terminal.
Enables the monitor terminal to display logs.
logging monitor [ level ]
Configures the level of logs displayed on the
monitor terminal.
Writing Syslogs into the
Memory Buffer
(Optional) It is used to configure parameters for writing syslogs into the memory buffer.
logging buffered [ buffer-size ] [ level ]
Configures parameters for writing syslogs
into the memory buffer, including the buffer
size and log level.
Sending Syslogs to the Log
Server
(Optional) It is used to configure parameters for sending syslogs to the log server.
logging server] { ip-address | ipv6
ipv6-address } [ udp-port port ]
Sends logs to a specified log server.
Configures the level of logs sent to the log
server.
logging facility facility-type
Configures the facility value of logs sent to
the log server.
logging source [ interface ] interface-type
interface-number
Configures the source interface of logs sent
to the log server.
logging source { ip ip-address | ipv6
ipv6-address }
Configures the source address of logs sent to
the log server.