Transferring Files Using Ftp Command - NEC IP8800/S2400 Series Troubleshooting Manual

Nec electronics america network hardware user manual
Table of Contents

Advertisement

No.
Item
7
NIF dump information
file created when the
dump nif
command
is executed
[IP8800/S6700]
[IP8800/S6600]
[IP8800/S6300]
8
Dump information file
created when network
interface failure occurs
[IP8800/S3600]
[IP8800/S2400]
9
Log information
10
Configuration file
created when failure
occurs
11
Information saved upon
occurrence of a failure
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>
> ftp 192.168.0.1
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
Interactive mode off.
ftp> bin
200 Type set to I.
ftp>cd <target directory>
250 CMD command successful.
ftp> put <dump file name>
local: <dump file name> remote: <dump file name>
200 EPRT command successful.
150 Opening BINARY mode data connection for '<dump file name>'.
100% |*************************************|
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.
Storage Location and File Name
/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.
/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.
Stored with the following name depending on the collected directory (see
5-3: Transferring Log Information Files to the Remote Operation
Operation log: log.txt
Type log: log_ref.txt
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.
/usr/var/core/*.core
Delete the file after transfer.
<--------------1
<--------------2
<--------------3
<--------------4
<--------------5
<--------------6
5.
Collecting Failure Information
"Figure
Terminal").
3897
2.13 MB/s
File Transfer
Format for ftp
Command
binary
binary
ASCII
binary
binary
00:00 ETA
145

Advertisement

Table of Contents
loading

Table of Contents