Ftp Server Configuration Example - H3C S5500-HI Series Fundamentals Configuration Manual

Hide thumbs Also See for S5500-HI Series:
Table of Contents

Advertisement

FTP server configuration example

Network requirements
As shown in
is 1 and that of the slave device is 2. The IRF fabric serves as an FTP server, and the PC serves as an FTP
client. The IRF fabric and the PC can reach each other. The PC keeps the updated system software image
file of the IRF fabric.
On the IRF fabric, configure an account with the username abc and password abc for the FTP client. From
the PC, use FTP to upgrade the IRF fabric and back up the configuration file.
Figure 38 Network diagram
Configuration procedure
CAUTION:
If the available memory space of the master and slave devices is insufficient, use the fixdisk command to
clear the memory or use the delete /unreserved
perform the following operations.
Configure the IRF fabric (FTP server)
1.
# Create an FTP user account abc, set its password to abc and the user privilege level to level 3 (the
manage level). Allow user abc to access the root directory of the flash on the master, and specify abc to
use FTP.
<Sysname> system-view
[Sysname] local-user abc
[Sysname-luser-abc] password simple abc
[Sysname-luser-abc] authorization-attribute level 3
[Sysname-luser-abc] authorization-attribute work-directory flash:/
To access the root directory of the storage medium of a slave device (with the member ID 2), replace
flash:/ with slot2#flash:/ in authorization-attribute work-directory flash:/.
[Sysname-luser-abc] service-type ftp
[Sysname-luser-abc] quit
# Enable FTP server.
[Sysname] ftp server enable
[Sysname] quit
Configure the PC (FTP client)
2.
# Log in to the FTP server through FTP.
Figure
38, an IRF fabric comprises a master and a slave device. The member ID of the master
file
url
-
command to delete the files not in use and then
92

Advertisement

Table of Contents
loading

Table of Contents