R3303-HP 6600/HSR6600 Routers Fundamentals Configuration Guide

121
Figure 54 Network diagram
Configuration procedure
1. Configure the FTP server (the configuration varies with server vendors):
# Set the access parameters for the FTP client (including enabling the FTP server function, setting
the FTP username to aaa and password to hello, and assign the FTP user the right to access the
flash:/aaa directory).
<FTP-Server> system-view
[FTP-Server] ftp server enable
[FTP-Server] local-user aaa
[FTP-Server-luser-aaa] password cipher hello
[FTP-Server-luser-aaa] service-type ftp
[FTP-Server-luser-aaa] authorization-attribute work-directory flash:/aaa
2. Configure the router:
# Use the save command to save the running configuration. (Details not shown.)
# Examine the storage media on the router for memory insufficiency. If the free space is not
sufficient for the new image file, delete unused files. (Details not shown.)
# Log in to the FTP server.
<Router> 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
# Download new-config.cfg from the FTP server.
[ftp] ascii
[ftp] get new-config.cfg
# Download soft-version2.bin from the FTP server.
[ftp] binary
[ftp] get soft-version2.bin
FTP Client
FTP Server
User
Telnet
Router
1.1.1.1/24
2.2.2.2/24
Internet