beautypg.com

Network requirements, Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual

Page 112

background image

6-16

FTP Server Configuration Example (Distributed IRF Device)

Network requirements

z

As shown in

Figure 6-5

, Device is a IRFsystem, which is composed of a master and a slave. The

member ID of the master is 1, and the slot numbers of the AMB and the SMB on the master are 0

and 1 respectively. The member ID of the slave is 2, and the slot numbers of the AMB and SMB

on the slave are 0 and 1 respectively.

z

Device serves as an FTP server and PC as the FTP client. Their IP addresses are as shown in the

following figure. Device and PC are reachable to each other.

z

Device downloads a startup file from PC for upgrade, and uploads the configuration file to PC for

backup.

z

On PC, an FTP user account has been created for the FTP client, with the username being abc

and the password being pwd.

Figure 6-5 Network diagram for FTPing a startup file from an FTP server

Configuration procedure

If the available memory space of the device is insufficient, use the fixdisk command to clear the

memory or use the delete /unreserved file-url command to delete the files not in use and then perform

the following operations.

1) Configure Device (FTP Server)

# Create an FTP user account ftp, set its password to pwd and the user privilege level to level 3 (the

manage level). Authorize ftp’s access to the root directory of the flash on the AMB of the IRF, and

specify ftp to use FTP.

system-view

[Sysname] local-user ftp

[Sysname-luser-ftp] password simple pwd

[Sysname-luser-ftp] authorization-attribute work-directory level 3

[Sysname-luser-ftp] authorization-attribute work-directory flash:/

To access an SMB of the IRF (suppose that the member ID and slot number of the member device

where the SMB resides are 2 and 1 respectively), you must configure the following: