Hitachi GR2000 Series User Manual

Page 266

Advertising
background image

Hitachi Gigabit Router GR2000 Series Enhanced Version Operations - Device Management Overview

8-4

GR2K-GA-0015

Ver. 07-02

8.2.1

Transmission of Maintenance Information by the ftp Command

To transmit files relevant to maintenance information between the router and an
internet worked device management terminal (remote terminal), use the

ftp

command. The following examples illustrate the process.

(1) Transmission of Dump Files by ftp

Figure 8-1 Dump File Transmission by ftp Command

*

Note 1: Always transfer the dump file in binary mode. If the dump file is transferred in ASCII

mode, the correct dump information will not be obtained.

> cd /var/dump/

> ftp 192.168.0.1

Connect to 192.168.0.1.

220 FTP server (Version wn-2.4(4) Fri Jan 1 00:00:00 JST 1999) ready.

Name (192.168.0.1:operator): test

331 Password required for test.

Password:xxxxxx

230 User test logged in.

Remote system type UNIX.

Using binary mode to transfer files.

ftp>prompt

Interactive mode off.

ftp>bin

200 Type set to I.

ftp>cd

250 CMD command successful.

ftp> mput *

local: rmdump remote: rmdump

200 PORT command successful.

150 Opening BINARY mode data connection for rmdump (2,312,345 bytes)

226 Transfer complete.

local: rp00.000 remote: rp00.000

200 PORT command successful.

150 Opening BINARY mode data connection for rp00.000 (512,322 bytes)

226 Transfer complete.

ftp> bye

221 Goodby

>

Specifies the address of the destination terminal.

Changes the dialog mode.

Selects binary mode (Note 1).

Specifies the destination directory.

Transmits the dump file.

Advertising