DES-3550 Layer 2 Fast Ethernet Switch
create syslog host
Purpose
Used to create a new syslog host.
Syntax
create syslog host <index 1-4> ipaddress <ipaddr> {severity [informational | warning |
all] | facility [local0 | local1 | local2 | local3 | local4 | local5 | local6 | local7] | udp_port
<udp_port_number> | state [enable | disable]
Description
The create syslog host command is used to create a new syslog host.
Parameters
<index 1-4> − Specifies that the command will be applied to an index of hosts. There are four
available indexes, numbered 1 through 4.
ipaddress <ipaddr> − Specifies the IP address of the remote host where syslog messages will
be sent.
severity − Severity level indicator. These are described in the following:
Bold font indicates that the corresponding severity level is currently supported on the Switch.
Numerical Code Severity
0
1
2
3
4
5
6
7
Emergency: system is unusable
Alert: action must be taken immediately
Critical: critical conditions
Error: error conditions
Warning: warning conditions
Notice: normal but significant condition
Informational: informational messages
Debug: debug-level messages
informational − Specifies that informational messages will be sent to the remote host. This
corresponds to number 6 from the list above.
warning − Specifies that warning messages will be sent to the remote host. This corresponds
to number 4 from the list above.
all − Specifies that all of the currently supported syslog messages that are generated by the
Switch will be sent to the remote host.
facility − Some of the operating system daemons and processes have been assigned Facility
values. Processes and daemons that have not been explicitly assigned a Facility may use any
of the"local use" facilities or they may use the "user-level" Facility. Those Facilities that have
been designated are shown in the following: Bold font indicates the facility values that the
Switch currently supports.
Parameters
Numerical Code Facility Numerical Code Facility
0 kernel messages
1 user-level messages
2 mail system
3 system daemons
4 security/authorization messages
5 messages generated internally by syslog
6 line printer subsystem
7 network news subsystem
8 UUCP subsystem
9 clock daemon
10 security|authorization messages
11 FTP daemon
12 NTP subsystem
13 log audit
14 log alert
15 clock daemon
16 local use 0 (local0)
17 local use 1 (local1)
18 local use 2 (local2)
19 local use 3 (local3)
20 local use 4 (local4)
21 local use 5 (local5)
22 local use 6 (local6)
23 local use 7 (local7)
84