Troubleshooting guide
5. Obtaining Failure Information
191
Figure 5-11: Obtaining the "show tech-support" unicast information
client-host> ftp 192.168.0.60 <---1
Connected to 192.168.0.60.
220 192.168.0.60 FTP server (NetBSD-ftpd) ready.
Name (192.168.0.60:staff1): staff1
331 Password required for staff1.
Password:
230 User staff1 logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> get .show-tech-unicast show-tech-uni.txt <---2
local: show-tech-uni.txt remote: .show-tech-uni.txt
150 Opening BINARY mode data connection for '/etc/ftpshowtech'.
226 Transfer complete.
343044 bytes received in 30.43 seconds (11.01 KB/s)
ftp> quit
221 Thank you for using the FTP service on 192.168.0.60.
client-host>
1. Use FTP on a client to connect to the Switch.
2. Transfer the
.show-tech-unicast file to the client. (The file name show-tech-uni.txt is
specified.)
Notes:
•
ftp subcommands such as ls cannot view a file specified for the get subcommand.
Therefore, you cannot check the file size before transferring the file.
• When you obtain the information, execute the commands on the switch. In this case, the
file transfer might take a long time. However, you must not interrupt the transfer before
it ends.
• Depending on the load on the switch or the state of the communication path, the client
might close the connection due to a network timeout. If this occurs, you must set a longer
client timeout period.
• When you use FTP to obtain failure information, you cannot collect results from any
command that can only be executed in administrator mode, such as
show
running-config command.
• When you obtain
show tech-support information, the system writes the user name
ftpuser to the log information.
(2) Obtaining dump information files
The procedures below describe how to connect a remote operation terminal, as a client, to the
Switch by using the
ftp command, and how to collect information by specifying the name of a file
that contains the required dump information.
Table 5-4: Files you can obtain with the "ftp" command
Figure 5-12: Obtaining dump files from a remote terminal
client-host> ftp 192.168.0.60 <---1
Connected to 192.168.0.60.
File name to specify in the
"get" subcommand
Files to be obtained
.dump Files in /dump0 and /usr/var/hardware (compressed) (For versions prior to Version
10.5: files in
/dump0 and /dump1 [compressed].)
.dump0 Files in /dump0 (compressed)
.hardware Files in /usr/var/hardware (compressed) (for Version 10.5 and later)