show log trace

Displays system information stored in the nonvolatile log buffer or the trace buffer.

Syntax: show log trace [{+-/} number-of-messages] [facility facility-name] [matching string] [severity severity-level]

trace

Displays the log messages in the trace buffer.

+-/

Displays the number of messages specified as follows:

number-of-messages

 

 

• A positive number (for example, +100), displays that number of

 

log entries starting from the oldest in the log.

 

• A negative number (for example, -100) displays that number of

 

log entries starting from newest in the log.

 

• A number preceded by a slash (for example, /100) displays that

 

number of the most recent log entries in the log, starting with the

 

least recent.

facility facility-name

Area of MSS that is sending the log message. Type a space and

 

a question mark (?) after show log trace facility for a list of valid

 

facilities.

matching string

Displays messages that match a string—for example, a username or

 

IP address.

severity severity-levelDisplays messages at a severity level greater than or equal to the level specified. Specify one of the following:

emergency—The switch is unusable.

alert—Action must be taken immediately.

critical—You must resolve the critical conditions. If the conditions are not resolved, the switch can reboot or shut down.

error—The switch is missing data or is unable to form a connection.

warning—A possible problem exists.

notice—Events that potentially can cause system problems have occurred. These are logged for diagnostic purposes. No action is required.

info—Informational messages only. No problem exists.

debug—Output from debugging.

Defaults: None.

Access: Enabled.

D-Link DWS-1008 CLI Manual

511

Page 514
Image 514
D-Link dws-1008 manual Show log trace, Number-of-messages