NEC IP8800/S6600 Network Hardware User Manual


 
5. Collecting Failure Information
145
5.2.1 Transferring Files Using ftp Command
Use the ftp command to transfer files between this system and the remote operation terminal.
(1) Transferring dump files to the remote operation terminal
Figure 5-2: Transferring Dump Files to the Remote Operation Terminal
> cd <dump-stored 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 <target 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 directory where the dump files to be transferred are located.
7 NIF dump information
file created when the
dump nif command
is executed
[IP8800/S6700]
[IP8800/S6600]
[IP8800/S6300]
/usr/var/hardware/nif**.*** in the active or standby system where the command
is executed (In Ver.10.5 or earlier, /dump0/nif**.cmd)
**: NIF number of the specified NIF
***: Serial number assigned from when dump was collected. Up to two files, the
oldest and latest files, are stored.
Delete the file after transfer.
binary
8 Dump information file
created when network
interface failure occurs
[IP8800/S3600]
[IP8800/S2400]
/usr/var/hardware/ni**.*** (In Ver10.5 or earlier, /dump0/ni**.***)
*: 0 to 9
***: Serial number assigned from when dump was collected. Up to two files, the
oldest and latest files, are stored.
Delete the files after transfer.
binary
9 Log information Stored with the following name depending on the collected directory (see "Figure
5-3: Transferring Log Information Files to the Remote Operation Terminal").
Operation log: log.txt
Type log: log_ref.txt
ASCII
10 Configuration file
created when failure
occurs
Using system administrator mode, perform the following command and copy two
files to home directory, then transfer the files.
cp /config/system.cnf system.cnf
cp /config/system.txt system.txt
Delete the files after transfer.
binary
11 Information saved upon
occurrence of a failure
/usr/var/core/*.core
Delete the file after transfer.
binary
No. Item Storage Location and File Name File Transfer
Format for ftp
Command