Enterasys Networks D2G124-12P Benutzerhandbuch

Seite von 496
set logging server
D-Series CLI Reference 12-3
set logging server
Use this command to configure a Syslog server.
Syntax
set logging server index [ip-addr ip-addr] [facility facility] [severity severity
[descr descr] [port port] [state {enable | disable}]
Parameters
Defaults
If ip‐addr is not specified, an entry in the Syslog server table will be created with the specified 
index number and a message will display indicating that no IP address has been assigned.
If not specified, facility, severity and port will be set to defaults configured with the set logging 
default
 command (“
If state is not specified, the server will not be enabled or disabled.
Mode
Switch command, read‐write.
Example
This command shows how to enable a Syslog server configuration for index 1, IP address 
134.141.89.113, facility local4, severity level 3 on port 514:
D2(su)->set logging server 1 ip-addr 134.141.89.113 facility local4 severity 3 
port 514 state enable
index
Specifies the server table index number for this server. Valid values are 1 ‐ 
8.
ip‐addr ip‐addr
(Optional) Specifies the Syslog message server’s IP address.
facility facility
(Optional) Specifies the server’s facility name. Valid values are: local0 to 
local7
.
severity severity
(Optional) Specifies the severity level at which the server will log 
messages. Valid values and corresponding levels are:
1 — emergencies (system is unusable)
2 — alerts (immediate action required)
3 — critical conditions
4 — error conditions
5 — warning conditions
6 — notifications (significant conditions)
7 — informational messages
8 — debugging messages
descr descr
(Optional) Specifies a textual string description of this facility/server.
port port
(Optional) Specifies the default UDP port the client uses to send to the 
server.
state enable | 
disable
(Optional) Enables or disables this facility/server configuration.