F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices System Management and Maintenance Configuration Guide-6PW100
44
Figure 19 Network diagram
375BConfiguration 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
cfa0:/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 cfa0:/aaa
2. Configure the firewall:
# Log in to the FTP server.
<Firewall> 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] bye
<Firewall>
# Specify new-config.cfg as the next-startup configuration file.
<Firewall> startup saved-configuration new-config.cfg
FTP Client
FTP Server
User
Telnet
Firewall
1.1.1.1/24
2.2.2.2/24
Internet