D-Link DWS-1008 User Manual
0
The show tech-support Command
The
show tech-support command combines a group of show commands to provide an in-depth snapshot
of the status of the switch. The output displays details about the system image and configuration used
after the last reboot, the version, ports, AAA settings, and other configuration values, and the last 100
log messages.
To save the output in a file to send to TAC, use the following syntax:
show tech-support [file [
subdirname
/]
filename
]
The following command saves the output in a file named
fortechsupport
and copies the file to a TFTP
server.
DWS-1008#
show tech-support file fortechsupport
success: results saved to fortechsupport.gz
DWS-1008#
copy fortechsupport.gz tftp://192.168.0.233/fortechsupport.gz
success: sent 8259 bytes in 0.246 seconds [ 33573 bytes/sec]
success: copy complete.
Core Files
If a DWS-1008 switch restarts due to an error condition (crashes), the switch generates a core file in the
temporary file area. The name of the file indicates the system area where the problem occurred. Core
files are saved in tarball (tar) format.
Core files are erased when you restart the switch. You must copy the files to a TFTP server or to the
nonvolatile part of file storage before restarting the switch. To copy core files, use the
dir command to
list them, then use the copy command to copy them. The following example shows how to list the files
and copy them to a TFTP server.
DWS-1008# dir
===============================================================
file:
Filename
Size
Created
file:configuration
48 KB
Jul 12 2005, 15:02:32
file:sysa_bak
12 KB
Mar 15 2005, 19:18:44
Total: 60 Kbytes used, 207762 Kbytes free
===============================================================
Boot:
Filename
Size
Created
boot0:mx040100.020
9780 KB
Aug 23 2005, 15:54:08
*boot1:mx040100.020
9796 KB
Aug 28 2005, 21:09:56
Boot0: Total: 9780 Kbytes used, 2460 Kbytes free
Boot1: Total: 9796 Kbytes used, 2464 Kbytes free
===============================================================
temporary files:
Filename
Size
Created
core:command_audit.cur 37 bytes
Aug 28 2005, 21:11:41
core:netsys.core.217.tar 560 KB
May 06 2005, 21:48:33
Total: 560 Kbytes used, 91147 Kbytes free
Summary of Contents for DWS-1008
Page 1: ......