93
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
of the IRF fabric 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 in the storage medium’s root directory.
•
After you finish upgrading Boot ROM through FTP, you must execute the
bootrom update
command to
upgrade Boot ROM.
3.
Upgrade the IRF fabric
# Copy the system software image file
newest.bin
to the root directory of the storage medium on a slave
device (with the member ID 2).
<Sysname> copy newest.bin slot2#flash:/
# 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 used for the next startup must be saved in the storage medium’s root
directory. You can copy or move a file to the root directory of the storage medium. For more information
about the
boot-loader
command, see
Fundamentals Command Reference.
Displaying and maintaining FTP
To do…
Use the command…
Remarks
Display the source IP address
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