1.1 Configuring
Remote Upgrade (on a Distributed Switch)

Figure
1-1 Network diagram for remote upgrade
l
Device acts as an FTP client. The application
aaa.app, including host software upgrading files and Boot ROM upgrading
files, is saved under the aaa directory of the FTP Server.
l
The IP address of a VLAN interface on the device
is 1.1.1.1/24; the IP address of the FTP Server is 2.2.2.2/24; the FTP server
is reachable.
l
User has logged in to Device via Telnet and
performs the following operations: download applications from the FTP Server,
and realize remote upgrade using the command lines. Ensure that a route exists
between User and Device.
|
Product Series
|
Software version
|
Hardware version
|
|
S7500E Series Ethernet Switches
|
Release 6100
|
All versions
|
1)
Configuration on FTP Server (Note that the
configurations may vary with different types of servers)
# Enable FTP Server.
<FTP-Server>
system-view
[FTP-Server]
ftp server enable
# Set the FTP username to aaa, and
password to hello.
[FTP-Server]
local-user aaa
[FTP-Server-luser-aaa]
password cipher hello
# Configure the user to have access to the aaa
directory.
[FTP-Server-luser-aaa]
service-type ftp
[FTP-Server-luser-aaa]
work-directory flash:/aaa
2)
Configuration on Device
# Input the following commands in user
view, and log in to the FTP Server.
<Device>
ftp 2.2.2.2
Trying
2.2.2.2 ...
Press
CTRL+K to abort
Connected
to 2.2.2.2.
220 WFTPD
2.0 service (by Texas Imperial Software) ready for new user
User(2.2.2.2:(none)):aaa
331 Give
me your password, please
Password:
230 Logged
in successfully
[ftp]
# Download file aaa.app on FTP
Server to the Flash of Device.
[ftp] get aaa.app
# Close the FTP connection, and return to
user view.
[ftp] bye
<Device>
# Upgrade the Boot ROM file of the line
processing unit (LPU) (suppose that the LPU resides in slot 2)
<Device>
bootrom update file aaa.app slot 2
# Upgrade the Boot ROM file of the active
main board (AMB).
<Device>
bootrom update file aaa.app slot 0
# Specify the application program for the
next boot on the AMB which resides in slot 0.
<Device>
boot-loader file aaa.app slot 0 main
# If the AMB of Device operates in
active-standby mode, you need to upgrade the program of the standby main board
(SMB) as well. Specify the application program for the next boot on the SMB,
and upgrade the Boot ROM file. Suppose that the SMB resides in slot 1, execute
the following commands:
<Device>
copy aaa.app slot1#flash:/
<Device>
boot-loader file slot1#flash:/aaa.app slot 1 main
<Device>
bootrom update file slot1#flash:/aaa.app slot 1
# Reboot Device. The application program is
upgraded now.
<Device>
reboot
l
Configuration on FTP Server
#
ftp
server enable
#
local-user
aaa
password
cipher 3MQ*TZ,O3KCQ=^Q`MAF4<1!!
work-directory
flash:/aaa
service-type
ftp
Follow these guidelines when configuring
remote upgrade:
l
For the online upgrade, uploading of files can
be realized via TFTP as well;
l
Besides online upgrade, you can also upgrade
software and Boot ROM using the Boot ROM menu.
l
The display may vary with servers when the
client logs in.

Figure 1-2 Network diagram for remote
upgrade
l
Device acts as an FTP client. The application
aaa.bin and Boot ROM program boot.btm are saved under the aaa
directory of the FTP Server.
l
The IP address of a VLAN interface on the device
is 1.1.1.1/24; the IP address of the FTP Server is 2.2.2.2/24; the FTP server
is reachable.
l
User has logged in to Device via Telnet and
performs the following operations: download applications from the FTP Server,
and realize remote upgrade using the command lines. Ensure that a route exists
between User and Device.
|
Product series
|
Software version
|
Hardware version
|
|
S3610 Series Ethernet Switches
|
Release 5301
|
All versions
|
|
S5510 Series Ethernet Switches
|
Release 5301
|
All versions
|
|
S5500-SI Series Ethernet Switches
|
Release 1207
|
All versions except S5500-20TP-SI
|
|
Release 1301
|
S5500-20TP-SI
|
|
S5500-EI Series Ethernet Switches
|
Release 2102
|
All versions
|
1)
Configuration on FTP Server (Note that the
configurations may vary with different types of servers)
# Enable FTP Server.
<FTP-Server>
system-view
[FTP-Server]
ftp server enable
# Set the FTP username to aaa, and
password to hello.
[FTP-Server]
local-user aaa
[FTP-Server-luser-aaa]
password cipher hello
# Configure the user to have access to the aaa
directory.
[FTP-Server-luser-aaa]
service-type ftp
[FTP-Server-luser-aaa]
work-directory flash:/aaa
2)
Configuration on Device
# Input the following commands in user
view, and log in to the FTP Server.
<Device>
ftp 2.2.2.2
Trying 2.2.2.2
...
Press
CTRL+K to abort
Connected
to 2.2.2.2.
220 WFTPD
2.0 service (by Texas Imperial Software) ready for new user
User(2.2.2.2:(none)):aaa
331 Give
me your password, please
Password:
230 Logged
in successfully
[ftp]
# Download files aaa.bin and boot.btm
on FTP Server to the Flash of Device.
[ftp] get aaa.bin
[ftp] get boot.btm
# Close the FTP connection, and return to
user view.
[ftp] bye
<Device>
# Upgrade the Boot ROM file of Device.
<Device>
bootrom update file boot.btm
# Specify the application program for the
next boot on Device.
<Device>
boot-loader file aaa.bin main
# Reboot Device. The application program is
upgraded now.
<Device>
reboot
l
Configuration on FTP Server
#
ftp
server enable
#
local-user
aaa
password
cipher 3MQ*TZ,O3KCQ=^Q`MAF4<1!!
work-directory
flash:/aaa
service-type
ftp
Follow these guidelines when configuring
remote upgrade:
l
For the online upgrade, uploading of files can
be realized via TFTP as well;
l
Besides online upgrade, you can also upgrade
software and Boot ROM using the Boot ROM menu.
l
The display may vary with servers when the
client logs in.