DGS-1210/ME Metro Ethernet Switch CLI Reference Guide
161
Command: create syslog host 1 ipaddress 1.1.2.1 severity all state enable
Success.
DGS-1210-28MP/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] | state [enable | disable] | udp_port [ 514 |
<udp_port_number 6000-65535>] | ipaddress [<ipaddr> |
<ipv6addr>]}
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
hosts. There are four available indices, numbered 1 to 4.
severity − The message s
everity level indicator. These are
DGScribed in the following table (
Bold font indicates that the
corresponding severity level is currently supported on the Switch):
Numerical Severity
Code
0 Emergency: system is unusable
1 Alert: action must be taken immediately
2 Critical: critical conditions
3 Error: error conditions
4 Warning: warning conditions
5 Notice: normal but significant condition
6 Informational: informational messages
7 Debug: debug-level messages
informational − Specifies that informational messages are to be sent
to the remote host. This corresponds to number 6 from the list
above.
warning − Specifies that warning messages are to
remote host. This corresponds to number 4 from the list above.
all − Specifies that all message are to be sent to the remote host.
facility − Some of the operating system daemons and processes
have been assigned Facility values. Proces
have not been explicitly assigned a Facility may use any of the ‘local
use’ facilities or they may use the ‘user-level’
Facilities that have been DGSignated are shown in the following:
Bold font indicates the facility v
alues that the Switch currently
supports.