Hitachi GR2000 Series User Manual

Page 267

Advertising
background image

Maintenance Procedure

GR2K-GA-0015

8-5

Ver. 07-02

(2)

Transmission of Log Files by ftp

Figure 8-2 Log File Transmission by ftp Command

> show logging > log.txt

> show logging reference > log_ref.txt

> 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>ascii

200 Type set to A.

ftp>cd

250 CMD command successful.

ftp> put log.txt

local: log.txt remote: log.txt

200 PORT command successful.

150 Opening ASCII mode data connection for log.txt (1,345 bytes)

226 Transfer complete.

ftp>put log_ref.txt

local: log_ref.txt remote: log_ref.txt

200 PORT command successful.

150 Opening ASCII mode data connection for log_ref.txt (846 bytes)

226 Transfer complete.

ftp> bye

221 Goodby

>

Specifies the address of the destination
terminal.

Selects ASCII mode.

Specifies the destination directory.

Transmits the log file.

Advertising