R3204P16-HP Load Balancing Module System Maintenance Configuration Guide-6PW101

74
Set the username to abc and the password to abc for the FTP client to log in to the FTP server.
Figure 30 Upgrading using the FTP server
Configuration procedure
1. Configure LB module (FTP server)
# 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 CFa0, 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 cfa0:/
[Sysname-luser-abc] service-type ftp
[Sysname-luser-abc] quit
# Enable FTP server.
[Sysname] ftp server enable
[Sysname] quit
# Check files on LB module. Remove those redundant to ensure adequate space for the boot file to be
uploaded.
<Sysname> dir
Directory of cfa0:/
0 drw- - Dec 07 2005 10:00:57 filename
1 drw- - Jan 02 2006 14:27:51 logfile
2 -rw- 1216 Jan 02 2006 14:28:59 config.cfg
3 -rw- 1216 Jan 02 2006 16:27:26 back.cfg
2540 KB total (2511 KB free)
<Sysname> delete /unreserved cfa0:/back.cfg
2. Configure the PC (FTP client)
# Log in to the FTP server through FTP.
c:\> ftp 1.1.1.1
Connected to 1.1.1.1.
220 FTP service ready.
User(1.1.1.1:(none)): abc
331 Password required for abc.
Password:
230 User logged in.
# Download the configuration file config.cfg from LB module to the PC for backup.
ftp> get config.cfg back-config.cfg
# Upload the configuration file newest.bin to LB module.