
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
78
config syslog host all
local6 − Specifies that local use 6 messages will be sent to the remote host. This
corresponds to number 22 from the list above.
local7 − Specifies that local use 7 messages will be 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
will 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 and Operator-level users can issue this command.
Example usage:
To configure all syslog hosts:
DGS–3426:5#config syslog host all severity all
Command: config syslog host all severity all
Success.
DGS–3426:5#config syslog host all facility local0
Command: config syslog host all facility local0
Success.
DGS–3426:5#config syslog host all udp_port 6000
Command: config syslog host all udp_port 6000
Success.
DGS–3426:5#config syslog host all ipaddress 10.44.67.8
Command: config syslog host all ipaddress 10.44.67.8
Success.
DGS–3426:5#config syslog host all state enabled
Command: config syslog host all state enabled
Success.
DGS–3426:5#
delete syslog host
Purpose Used to remove a syslog host, that has been previously configured, from the Switch.
Syntax
delete syslog host [<index 1–4> | all]
Description This command is used to remove a syslog host that has been previously configured from
the Switch.
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.
all − Specifies that the command will be applied to all hosts.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To delete a previously configured Syslog host: