beautypg.com

Using the device as an ftp server, Configuring basic parameters – H3C Technologies H3C SecBlade LB Cards User Manual

Page 100

background image

91

# Set the file transfer mode to ASCII, and upload the configuration file config.cfg from LB to the PC for

backup.

[ftp] ascii

[ftp] put config.cfg back-config.cfg

227 Entering Passive Mode (10,1,1,1,4,2).

125 ASCII mode data connection already open, transfer starting for /config.cfg.

226 Transfer complete.

FTP: 3494 byte(s) sent in 5.646 second(s), 618.00 byte(s)/sec.

[ftp] bye

221 Server closing.

# Specify newest.bin as the main system software image file for the next startup.

boot-loader file newest.bin main

IMPORTANT:

The system software image file used for the next startup must be saved in the root directory of the storage
medium. If the storage medium is partitioned, the system software image file must be saved in the first

partition. You can copy or move a file to the root directory. For more information about the boot-loader

command, see

System Management Command Reference.

# Reboot LB, and the system software image file is updated at the system reboot.

reboot

Using the device as an FTP server

If the device is operating as an FTP server, make sure the following requirements are met to ensure

successful FTP operations:

The device and the FTP server can reach each other.

Configure a user account (including the username, password, and authorization) on the device or
a remote authentication server for an FTP user. This task is required because the device does not

support anonymous FTP for security reasons. By default, authenticated users can access the root

directory of the device.

The FTP user provides the correct username and password.

NOTE:

When you use the Internet Explorer browser to log in to the device operating as an FTP server, some FTP
functions are not available. This is because multiple connections are required during the login process but

the device supports only one connection at a time.

Configuring basic parameters

The FTP server uses one of the following modes to update a file when you upload the file (use the put

command) to the FTP server:

Fast mode—The FTP server starts writing data to the storage medium after a file is transferred to the
memory. This prevents the existing file on the FTP server from being corrupted if an anomaly, such

as a power failure, occurs during a file transfer.

This manual is related to the following products: