Troubleshooting guide

5. Obtaining Failure Information
183
5.2 Transferring maintenance information files
This section describes how to transfer files that contain log or dump information.
The
ftp command available for the Switch allows you to transfer files containing maintenance
information to a remote terminal or remote host. AX3800S, AX3600S, and AX2400S series
switches also have the ability to transfer files to a console by using the
zmodem command.
In a stack configuration, files containing maintenance information can be transferred from only the
master switch. To transfer maintenance information files of member switches other than the master
switch, use the
cp command to copy the files from each member switch to the master switch, and
then transfer the files from the master switch.
5.2.1 Transferring files using the "ftp" command
Use the ftp command to transfer files between the Switch and a remote terminal.
(1) Transferring a dump file to a remote terminal
Figure 5-1: Transferring a dump file to a remote terminal
> cd <dump file directory> <---1
> ftp 192.168.0.1 <---2
Connected to 192.168.0.1.
220 FTP server (Version 6.00LS) ready.
Name (192.168.0.1: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> prompt <---3
Interactive mode off.
ftp> bin <---4
200 Type set to I.
ftp>cd
<destination directory> <---5
250 CMD command successful.
ftp> put <dump file name> <---6
local:
<dump file name> remote: <dump file name>
200 EPRT command successful.
150 Opening BINARY mode data connection for '
<dump file name>'.
100% |*************************************| 3897 2.13 MB/s 00:00 ETA
226 Transfer complete.
3897 bytes sent in 00:00 (82.95 KB/s)
ftp> bye
221 Goodbye.
>
1. Specify the source directory.
2. Specify the destination terminal address.
3. Change the interactive mode.
4. Specify binary mode.
#
5. Specify the destination directory.
6. Transfer the dump file.
#
Make sure that you use binary mode to transfer dump files. If dump files are transferred in
ASCII mode, correct dump information cannot be obtained.