DES-1210-28/ME Metro Ethernet Managed Switch CLI Reference Guide
101
local1 − Specifies that local use 1 messages are to be sent to the
remote host. This corresponds to number 17 from the list above.
local2 − Specifies that local use 2 messages are to be sent to the
remote host. This corresponds to number 18 from the list above.
local3 − Specifies that local use 3 messages are to be sent to the
remote host. This corresponds to number 19 from the list above.
local4 − Specifies that local use 4 messages are to be sent to the
remote host. This corresponds to number 20 from the list above.
local5 − Specifies that local use 5 messages are to be sent to the
remote host. This corresponds to number 21 from the list above.
local6 − Specifies that local use 6 messages are to be sent to the
remote host. This corresponds to number 22 from the list above.
local7 − Specifies that local use 7 messages is sent to the remote
host. This corresponds to number 23 from the list above.
udp_port <udp_port_number> − Specifies the UDP port number that
the syslog protocol is to use to send messages to the remote host.
state [enable | disable] − Allows the sending of syslog messages to
the remote host, specified above, to be enabled and disabled.
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To create syslog host:
DES-1210-28/ME:5# create syslog host 1 ipaddress 1.1.2.1 severity all state
enable
Command: create syslog host 1 ipaddress 1.1.2.1 severity all state enable
Success!
DES-1210-28/ME:5#
config syslog host
Purpose To configure the syslog protocol to send system log data to a remote
host.
Syntax
config syslog host [all | <index 1-4>] {severity [informational |
warning | all] | facility [local0 | local1 | local2 | local3 | local4 |
local5 | local6 | local7] | udp_port <udp_port_number 1-65535> |
ipaddress <ipaddr>}
Description
The config syslog host command configures the syslog protocol to
send system log information to a remote host.
Parameters
all − Specifies that the command applies to all hosts.
<index 1-4> − Specifies that the command applies to an index of
hosts. There are four available indices, numbered 1 to 4.
ipaddress <ipaddr> − The IP address of the remote host to which
syslog messages are to be sent.
severity − The message severity level indicator. These are
described in the following table (Bold font indicates that the
corresponding severity level is currently supported on the Switch):
Numerical Severity
Code