93
# 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)):ftp
331 Password required for ftp.
Password:
230 User logged in.
# Download the configuration file
config.cfg
of the IRF virtual device to the PC for backup.
ftp> get config.cfg back-config.cfg
# Upload the configuration file
newest.bin
to the root directory of the storage medium on the master.
ftp> put newest.bin
ftp> bye
NOTE:
•
You can take the same steps to upgrade configuration file with FTP. When upgrading the configuration
file with FTP, put the new file under the root directory of the storage medium.
•
After you finish upgrading the Boot ROM program through FTP, you must execute the
bootrom update
command to upgrade the Boot ROM.
3.
Upgrade the IRF virtual device
# Copy the boot file
newest.bin
to the root directory of the storage medium on a slave switch (with the
member ID 2).
<Sysname> copy newest.bin slot2#flash:/
# Specify
newest.bin
as the main boot file to be used at the next startup for all the member devices.
<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 virtual device and the boot file is updated at the system reboot.
<Sysname> reboot
CAUTION:
The boot 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 more information about the
boot-loader
command, see
the Fundamentals Command Reference.
Displaying and maintaining FTP
To do…
Use the command…
Remarks
Display the configuration of the FTP client
display ftp client configuration
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display the configuration of the FTP server
display ftp-server
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view