Enterasys Networks D2G124-12P Benutzerhandbuch

Seite von 496
set logging default
D-Series CLI Reference 12-5
set logging default
Use this command to set logging default values.
Syntax
set logging default {[facility facility] [severity severityport port]}
Parameters
Defaults
None.
Mode
Switch command, read‐write.
Example
This example shows how to set the Syslog default facility name to local2 and the severity level to 4 
(error logging):
D2(su)->set logging default facility local2 severity 4
clear logging default
Use this command to reset logging default values.
Syntax
 clear logging default {[facility] [severity] [port]}
Parameters
facility facility
Specifies the default facility name. Valid values are: local0 to local7.
severity severity
Specifies the default logging severity level. 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
port port
Specifies the default UDP port the client uses to send to the server.
facility 
(Optional) Resets the default facility name to local4.
severity 
(Optional) Resets the default logging severity level to (notifications of 
significant conditions).