beautypg.com

Saving trace messages in a file, Displaying the log configuration – 3Com WX4400 3CRWX440095A User Manual

Page 630

background image

630

C

HAPTER

A: T

ROUBLESHOOTING

A

WX S

WITCH

Mark messages are disabled by default. When they are enabled, MSS
generates a message at the notice level once every 300 seconds by
default.

To enable mark messages, use the following command:

WX4400# set log mark enable
success: change accepted.

Saving Trace Messages in a File

To save the accumulated trace data for enabled traces to a file in the WX
switch’s nonvolatile storage, use the following command:

save trace filename

To save trace data into the file trace1 in the subdirectory traces, type the
following command:

WX1200# save trace traces/trace1

Displaying the Log Configuration

To display your current log configuration, type the following command:

WX1200# display log config
Logging console:

enabled

Logging console severity:

INFO

Logging sessions:

enabled

Logging sessions severity:

INFO

Logging buffer:

enabled

Logging buffer severity:

ERROR

Logging buffer size:

400 messages

Logging trace:

enabled

Logging trace severity:

DEBUG

Logging buffer size:

1048576 bytes

Log marking: disabled
Log marking severity: NOTICE
Log marking interval: 300 seconds
Logging server:

172.21.12.19 port 514 severity

EMERGENCY
severity CRITICAL
Current session:

disabled

Current session severity:

INFO