DGS-6604 m logging host
CLI Reference Guide
402
logging host
Use the logging host command to log system messages to a remote host.
Remove logging hosts from the configuration with the no logging host
command.
logging host IPADDRESS [port UDP-PORT] [severity {emergency |alert |critical |error
|warning |notice |informational | debugging}] [facility {local0|local1| local2| local3| local4|
local5| local6| local7}]
no logging host [IP-ADDRESS]
Default IP-ADDRESS: None
UDP port: 514.
severity: informational
Syntax Description
IP-ADDRESS Specifies the IP address of the host to be used as the syslog server. IPv4 and IPv6
address are supported.
port UDP-PORT (Optional) The UDP port number to be used for the syslog server. Valid values are
514 or any value from 1024 to 65535.
severity (optional) Specifies the severity of log messages that will be sent to the server.
emergency System is unusable.
alert Action must be taken immediately.
critical critical condition
error error conditions
warning warning condition
notice normal but significant condition
informational informational message
debugging debugging message
facility (optional) Specifies the facility (refer to options listed in the below rows) in the log
messages to be sent to the server.
local0 local use 0
local1 local use 1
local2 local use 2
local3 local use 3
local4 local use 4
local5 local use 5
local6 local use 6
local7 local use 7