90
# Specify
newest.bin
as the main system software image file for next startup of all the member switches.
<Sysname> boot-loader file newest.bin slot all main
This command will set the boot file of the specified board. Continue? [Y/N]:y
The specified file will be used as the main boot file at the next reboot on slot 1!
The specified file will be used as the main boot file at the next reboot on slot 2!
# Reboot the IRF fabric, and the system software image file is updated at the system reboot.
<Sysname> reboot
CAUTION:
The system software image file for next startup must be saved in the storage medium’s root directory. You
can copy or move a file to the storage medium’s root directory. For more information about the
boot-loader
command, see
Fundamentals Command Reference.
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 an
anomaly, such as a power failure 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, such as a power failure during file transfer might result in file corruption on the
FTP server. This mode, however, consumes less memory space than the fast mode.
Follow these steps to configure the FTP server:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable the FTP server
ftp server enable
Required
Disabled by default.
Use an ACL to control FTP clients’
access to the device
ftp server acl
acl-number
Optional
By default, no ACL is used to control
FTP clients’ access to the device.
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.
Set the file update mode for the FTP
server
ftp update
{
fast
|
normal
}
Optional
Normal update is used by default.
Return to user view
quit
—