A SERVICE OF

logo

xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
673
config syslog host
networks to a host. The option enables or disables the host to receive such messages.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To configure syslog host configuration:
DGS-3627:admin# config syslog host all severity all facility local0
Command: config syslog host all severity all facility local0
Success.
DGS-3627:admin#
create syslog host
Purpose Used to create a new syslog host.
Syntax
create syslog host <index 1-4> {severity [ emergency | alert | critical | error | warning |
notice | informational |debug| all | <level 0-7>] | facility [ local0 | local1 | local2 | local3 |
local4 | local5 | local6 | local7] | udp_port <udp_port_number> | ipaddress<ipaddr> |
state [ enable | disable]}
Description This command creates a new syslog host. The user can choose and report specific levels of
messages to a specific host. When the user chooses a specific level for a specific host,
messages which are at that severity level or higher will be reported to that host.
When the IP address is invalid, the prompt message, “Invalid IP address,” will be displayed
and this configuration will fail.
When the specified IP address already exists, the prompt message, “The host IP address
already exists,” will be displayed and this configuration will fail.
When the specified host already exists, the prompt message, “The entry already exists,” will
be displayed and this configuration will fail.
Parameters
host - The host index or all hosts
severity 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
all Severity level All
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. The facilities that have
been designated are shown below.
local0 user-defined facility
local1 user-defined facility
local2 user-defined facility
local3 user-defined facility
local4 user-defined facility
local5 user-defined facility