beautypg.com

Copying trace results to a server, Clearing the trace log, List of trace areas – 3Com WX4400 3CRWX440095A User Manual

Page 634

background image

634

C

HAPTER

A: T

ROUBLESHOOTING

A

WX S

WITCH

„

/number-of-messages — Displays the specified number of the most
recent entries in the log, starting with the least recent.

To filter trace output by MSS area, use the facility facility-name keyword.
For a list of valid facilities for which you can view event messages, type
the following command:

WX1200# display log trace facility ?

Select one of: KERNEL, AAA,

SYSLOGD, ACL, APM, ARP,ASO, BOOT, CLI,
CLUSTER, CRYPTO, DOT1X, ENCAP,
ETHERNET, GATEWAY, HTTPD, IGMP, IP,
MISC, NOSE, NP, RAND, RESOLV, RIB, ROAM,
ROGUE, SM, SNMPD, SPAN, STORE, SYS,
TAGMGR, TBRIDGE, TCPSSL, TELNET, TFTP,
TLS, TUNNEL, VLAN, X509, XML, MAP, RAPDA,
WEBVIEW, EAP, PORTCONFIG, FP.

Copying Trace Results

to a Server

To copy the contents of the trace buffer to a file on a TFTP server, use the
following command:

copy trace-buffer-name tftp://[destination-ip-addr |
destination-hostname]/destination-filename

To find the name of the trace buffer file, use the dir command.

For example, the following command copies the log messages in trace
buffer 0000000001 to a TFTP server at IP address 192.168.253.11, in a
file called log-file:

WX1200# copy 0000000001 tftp://192.168.253.11/log-file

Clearing the Trace

Log

To clear all messages from the trace log buffer, type the following
command:

WX1200# clear log trace

List of Trace Areas

To see all MSS areas you can trace, type the following command:

WX1200# set trace ?