Sending System Log Messages to Other Servers with the SRC CLI
Use the following statements to configure the system log server to send messages to another system log server:
system syslog host log-host-name (any | authorization | daemon | ftp | kernel | user | local7) {(any | emergency | alert | critical | error | warning | notice | info | none);}Before you configure the system log server to send messages to other system log servers, ensure that the remote system log server is configured to receive messages on the standard UDP port, 514.
To configure the system log server to send messages to another system log server:
- From configuration mode, access the configuration statement that configures the system log server.
[edit]user@host#edit system syslog
- Specify the remote system log server to receive messages as well as the groups and severity level for those messages.
[edit system syslog]user@host#set host
log-host-name message-group severity
For example, to configure the system log server to send error messages generated by processes on the C-series Controller to my-syslog-server:
[edit system syslog]user@host#set my-syslog-server.mydomain.com local7 error