R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Configuration Guide-6PW101

199
[ftp] ascii
[ftp] put config.cfg back-config.cfg
227 Entering Passive Mode (10,1,1,1,4,2).
125 ASCII mode data connection already open, transfer starting for /config.cfg.
226 Transfer complete.
FTP: 3494 byte(s) sent in 5.646 second(s), 618.00 byte(s)/sec.
[ftp] bye
# Specify newest.bin as the main boot file to be used at the next startup.
<Sysname> boot-loader file newest.bin main
# Reboot the firewall, and the boot file is updated at the system reboot.
<Sysname> reboot
CAUTION:
The boot file used at the next startup must be saved under the root directory of the storage medium. You
can copy or move a file to the root directory of the storage medium. For more information about the
boot-loader command, see "Upgrading software."
Configuring the FTP server
Configuring FTP server operating parameters
The FTP server uses one of the two modes to update a file when you upload the file (use the put command)
to the FTP server:
In fast mode, the FTP server starts writing data to the storage medium after a file is transferred to the
memory. This prevents the existing file on the FTP server from being corrupted in the event that
anomaly, power failure for example, occurs during a file transfer.
In normal mode, the FTP server writes data to the storage medium while receiving data. This means
that any anomaly, power failure for example, during file transfer might result in file corruption on the
FTP server. This mode, however, consumes less memory space than the fast mode.
To configure the FTP server:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable the FTP server. ftp server enable Disabled by default.
3. Use an ACL to control FTP
clients' access to the firewall.
ftp server acl acl-number
Optional.
By default, no ACL is used to control FTP
clients' access to the firewall.
4. Configure the idle-timeout
timer.
ftp timeout minutes
Optional.
30 minutes by default.
Within the idle-timeout time, if there is no
information interaction between the FTP
server and client, the connection between
them is terminated.