beautypg.com

Configuration procedure – H3C Technologies H3C S12500 Series Switches User Manual

Page 138

background image

126

Figure 43 Network diagram

Configuration procedure

1.

Configure the FTP server:
# Enable the FTP server.

system-view

[FTP-Server] ftp server enable

# Set the FTP username to aaa and password to hello.

[FTP-Server] local-user aaa

[FTP-Server-luser-aaa] password cipher hello

# Assign the FTP user the right to access the aaa directory.

[FTP-Server-luser-aaa] service-type ftp

[FTP-Server-luser-aaa] authorization-attribute work-directory flash:/aaa

2.

Configure the device (FTP client):
# Examine the free space of the Flash on the switch for memory insufficiency. If the free space is
not sufficient for the patch file, delete old unused files from the Flash. (Details not shown.)
# Use the save command to save the running configuration. (Details not shown.)
# Log in to the FTP server.

ftp 2.2.2.2

Trying 2.2.2.2 ...

Press CTRL+K to abort

Connected to 2.2.2.2.

220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user

User(2.2.2.2:(none)):aaa

331 Give me your password, please

Password:

230 Logged in successfully

[ftp]

# Download the file patch_mr.bin from the FTP server.

[ftp] binary

[ftp] get patch_mr.bin

[ftp] bye