2-13
The startup file used for 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 the details of the
boot-loader
command, refer to
Device Management Commands
in the
System Volume
.
IRF System Upgrade
Network requirements
z
As shown in
Figure 2-5
, use Device as an FTP server, and the PC as the FTP client. An available
route exists between Device and PC.
z
PC keeps the updated startup file of the device. Use FTP to upgrade the device and back up the
configuration file.
z
Set the username to
ftp
and the password to
pwd
for the FTP client to log in to the FTP server.
Figure 2-5
Smooth upgrading using the FTP server
Configuration procedure
1) Configure Device (FTP Server)
# Create an FTP user account
ftp
, set its password to
pwd
and the user privilege level to level 3 (the
manage level).
<Sysname> system-view
[Sysname] local-user ftp
[Sysname-luser-ftp] password simple pwd
[Sysname-luser-ftp] authorization-attribute work-directory level 3
# Authorize ftp’s access to the root directory of the flash on the master.
[Sysname-luser-ftp] authorization-attribute work-directory flash:/
# To access the root directory of storage medium of a slave (with the member ID 2):
[Sysname-luser-ftp] authorization-attribute work-directory slot2#flash:/
# Specify
ftp
to use FTP.
[Sysname-luser-ftp] service-type ftp
[Sysname-luser-ftp] quit
# Enable FTP server.
[Sysname] ftp server enable