Set logging default, Clear logging default, Set logging default -5 clear logging default -5 – Enterasys Networks Enterasys D2 D2G124-12P User Manual

Page 343

Advertising
background image

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 severity] port 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).

Advertising
This manual is related to the following products: