DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 121
Description
The config syslog command configures the syslog host configurations. The user can
choose and report a specific level 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 the specified host.
Parameters
host
- The host index or all hosts.
severity
- See below:
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
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 below. This facility
setting will be put in the syslog packet when it is sent to a specific syslog server.
local0
user-defined Facility
local1
user-defined Facility
local2
user-defined Facility
local3
user-defined Facility
local4
user-defined Facility
local5
user-defined Facility
local6
user-defined Facility
local7
user-defined Facility
udp_port
- The UDP port number.
ipaddr
- Specify IP address for the host.
ipv6addr
- Specify IPv6 address for the host.
state
- 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.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure a Syslog host:
DGS-3700-12:5#config syslog host 1 severity debug
Command: config syslog host 1 severity debug
Success.
DGS-3700-12:5#
Example usage:
To configure a syslog host for all hosts: