DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
649
Format
create syslog host <index 1-4> ipaddress [<ipaddr> |<ipv6addr>] {severity [emergency |
alert | critical | error | warning | notice | informational | debug | <level 0-7>] | facility [local0 |
local1 | local2 | local3 | local4 | local5 | local6 | local7] | udp_port <udp_port_number> | state
[enable | disable]}
Parameters
host
- The host index or all hosts.
<index>
- Enter the host index value here.
all
- Specifies that all the host indexes will be used.
severity
- (Optional) Specifies the severity level.
emergency
- Severity level 0
alert
- Severity level 1
critical
- Severity level 2
error
- Severity level 3
warning
- Severity level 4
notice
- Severity level 5
informational
- Severity level 6
debug
- Severity level 7
<level 0-7>
- Enter the severity level value here. This value must be between 0 and 7.
facility
- (Optional) 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 displayed below. This facility setting will be put in the syslog
packet when it is sent to a specific syslog server.
local0
- Specifies that the user-defined facility will be set to local 0.
local1
- Specifies that the user-defined facility will be set to local 1.
local2
- Specifies that the user-defined facility will be set to local 2.
local3
- Specifies that the user-defined facility will be set to local 3.
local4
- Specifies that the user-defined facility will be set to local 4.
local5
- Specifies that the user-defined facility will be set to local 5.
local6
- Specifies that the user-defined facility will be set to local 6.
local7
- Specifies that the user-defined facility will be set to local 7.
udp_port
- (Optional) Specifies the UDP port number.
<udp_port_number>
- Enter the UDP port number used here.
ipaddress
- (Optional) Specifies IP address for the host.
<ipaddr>
- Enter the IP address used for the configuration here.
<ipv6addr>
- Enter the IPv6 address used for the configuration here.
state
- (Optional) The syslog protocol is used for the transmission of event notification messages
across networks to a host. The option enables or disables the host to receive such messages.
enable
- Specifies that the host to receive such messages will be enabled.
disable
- Specifies that the host to receive such messages will be disabled.
Restrictions
Only Administrators and Operators can issue this command.
Example
To create a new syslog host: