The set system syslog server-ip command configures the IP address of the remote syslog server on the switch. After user configures the syslog server IP address, the log files will be sent to the syslog server.
The delete system syslog server-ip command deletes the remote syslog server.
Command Syntax
set system syslog server-ip <ip_address> [ port <port_number> | protocol <tcp | udp> ]
Parameter
Parameter | Description |
server-ip <ip_address> | Specifies IP address of a remote syslog server. It could be an IPv4 address or IPv6 address. |
port <port_number> | Optional. Specifies the port of the remote syslog server. The value is an integer type. |
protocol <tcp | udp> | Optional. Specifies the transmission protocol for the remote syslog server. The value can be tcp or udp. |
Example
• This example configures how to set the IP address of the remote syslog server.
admin@XorPlus# set system syslog server-ip 192.168.1.1 admin@XorPlus# commit