Use this command to configure a Syslog server.
index | Specifies the server table index number for this server. Valid values are 1 - 8. |
ip-addr ip-addr | (Optional) Specifies the Syslog message server‘s IPv4 or IPv6 address. |
facility facility | (Optional) Specifies the server‘s facility name. Valid values are: local0 to local7. |
severity severity | (Optional) Specifies the severity level at which the server will log messages. Valid values and corresponding levels are: emergencies (system is unusable) alerts (immediate action required) critical conditions error conditions warning conditions notifications (significant conditions) informational messages debugging messages |
descr descr | (Optional) Specifies a textual string description of this facility/server. |
port port | (Optional) Specifies the default UDP port the client uses to send to the server. |
state enable | disable | (Optional) Enables or disables this facility/server configuration. |
All command modes.
If C2 security mode is enabled, You can not create, modify, or clear a server logging configuration while in Read-Write user mode.
This command shows how to enable a Syslog server configuration for index 1, IP address 134.141.89.113, facility local4, severity level 3 on port 514:
System(rw)->set logging server 1 ip-addr 134.141.89.113 facility local4 severity 3 port 514 state enable