User`s manual

390
DWS-1008 User’s Manual
D-Link Systems, Inc.
Appendix A - Troubleshooting
Displaying Trace Results
To view the output of currently running trace commands, use the following command:
show log trace [{+|-|/}number-of-messages] [facility facility-name] [matching string]
[severity severity-level]
For example, the following command displays a trace log of error-level events:
DWS-1008# show log trace severity error
KERNEL Jan 15 23:08:10 ERROR duplicate IP address 10.7.122.102 sent from link
address 00:05:5d:45:ae:cd
To display a specic number of trace log messages, you must enter a plus sign (+), minus
sign (-), or slash (/) before the number. These characters lter the messages displayed as
follows:
+number-of-
messages
Displays the specied number of log entries,
starting with the oldest in the log.
-number-of-
messages
Displays the specied number of entries,
starting with the newest in the log.
/number-of-
messages
Displays the specied number of the most
recent entries in the log, starting with the least
recent.
To lter 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:
DWS-1008# show log trace facility ?
<facility name> Select one of: KERNEL, AAA, SYSLOGD, ACL, APM, ARP,ASO,
BOOT, CLI, CLUSTER, COPP, CRYPTO, DOT1X, ENCAP, ETHERNET, GATEWAY, 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, AP,
RAPDA, EAP, PORTCONFIG, FP.
Copying Trace Results to a Server
To copy the contents of the trace buffer to a le on a TFTP server, use the following
command:
copy trace-buffer-name tftp://[destination-ip-addr | destination-hostname]/destination-
filename
To nd the name of the trace buffer le, 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 le called log-file:
DWS-1008# copy 0000000001 tftp://192.168.253.11/log-le