Using the device as an ftp server, Configuring basic parameters – H3C Technologies H3C S12500 Series Switches User Manual

Page 86

Advertising
background image

74

<Sysname> boot-loader file chassis2#slot1#flash:/newest.bin chassis 2 slot 1 main

This command will set the boot file of the specified board. Continue? [Y/N]:y

The specified file will be used as the main boot file at the next reboot on chassis 2

slot 1!

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 Flash root directory.

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

<Sysname> 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 in the event that

anomaly, such as a power failure, occurs during a file transfer.

Normal mode—The FTP server writes data to the storage medium while receiving data. This means
that any anomaly, such as a power failure, during file transfer might result in file corruption on the

FTP server. This mode, however, consumes less memory space than the fast mode.

To configure basic parameters for the FTP server:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable the FTP server.

ftp server enable

Disabled by default.

Advertising