Network Requirements
- A PC acts as an FTP server, and Device acts as an FTP client. The network between the server and the client is normal.
- On the FTP server, the user name for a device to log in to the FTP server is admin, and the password is admin. The image program and bootloader program to be upgraded are placed in the FTP server directory.
Network Topology
Figure 10-2 Networking for Upgrading All Software Versions
Configuration Steps
Step 1: Configure an FTP server, and place the image program and bootloader program in the FTP server directory. (Omitted)
Step 2: Back up device configuration files.(Omitted)
Step 3: Create VLANs, and add ports to the required VLANs.(Omitted)
Step 4: Configure the IP addresses of the interfaces so that the network between Device and the FTP server is normal. (Omitted)
Step 5: Upgrade the image program.
#Before upgrading the image program, check whether there is sufficient space in the file system.
Device#filesystem
Device(config-fs)#volume
Device(config-fs)#exit
|
#Use the sysupdate command to upgrade the image program of the device.
Device#sysupdate image mpu all 130.255.98.2 sp9b-g-6.6.6.1.2(R).pck ftp admin admin
|
For the upgrade procedure of the image program and the print information which indicates whether the upgrade is successful, refer to the "Upgrading the image Program Package" in "Configuring Software Upgrade Functions".
Step 6: Upgrade the bootloader program.
#Use the sysupdate command to upgrade the bootloader program of all cards on the device.
Device#sysupdate bootloader all 2.0.0.1 sz03-tboots1-rtk93-1.0.0.10.pck ftp admin admin
|
For the upgrade procedure of the bootloader program and the print information which indicates whether the upgrade is successful, refer to the "Upgrading the bootloader Program" in "Configuring Software Upgrade Functions".
Step 7: Use a command to restart the device.
#Use the reload command to restart the device.
Device #reload
Save current configuration to startup-config(Yes|No)?yes
Building Configuration...done
Write to mode file... OK
Write to startup file ... OKPlease confirm system to reload(Yes|No)?yes
|
Before the restart, determine whether to save the configuration according to the actual requirement.
Step 8: Check the result.
#After the upgrade is completed and the device is restarted, view the version numbers of the programs to check whether the versions have been upgraded.
#Check whether the image and bootloader programs have been upgraded successfully.
Hostname#show system mpu
----------------------------------------------------------------
Type: MyPower S3330-28GXF(V1)[0x0000019a]
Status: Start Ok
Last-Alarm: Normal
Card-Port-Num: 28
Card-SubSlot-Num: 0
Power-INTF-Status: Normal
Power-Card-Status: On
Serial No.:
Card-Name: MyPower S3330-28GXF(V1)
Description:
Hardware-Information:
PCB-Version: 001
Software-Information:
Bootloader-Version: 1.0.0.10
Software-Version: 9.4.0.12(integrity)
Temperature-Information:
Temperature-State:
Switch-Temperature = 71 C
Last-Alarm = Normal.
Mainboard-Temperature = 44 C
Last-Alarm = Normal.
CPU-On-Card-Information: < 1 CPUs>
CPU-Idx: 00
Status: Normal
Core-Num: 0001
Core-State:
Core-Idx-00
Core-Status: 0000
Core-Utilization: 5%
MEM-On-Card-Information: <1 MEMs>
MEM-Idx: 00
MEM-State:
BytesFree = 179621888 bytes
BytesAlloc = 264974336 bytes
BlocksFree = 6 blocks
BlocksAlloc = 5628 blocks
MaxBlockSizeFree = 44040192 bytes
SizeTotal = 444596224 bytes
DISK-On-Card-Information: <1 DISKs>
DISK-Idx: 00
Type: Flash
Status: Online
DISK-State:
SizeTotal = 162299904 bytes
SizeFree = 37076992 bytes
----------------------------------------------------------------
STATISTICS: 1 IN, 0 OUT, 0 IERR, 0 OERR
-
It does not matter whether the bootloader program or the bootloader program is upgraded first, but the device can be restarted only after all programs have been upgraded.
- Before the upgrade, ensure that there is sufficient space in the corresponding storage path file system of the device for saving the image file that is used for upgrade. If there is not sufficient space on the device, delete the files that are not in need from the file system of the device. The remaining space of the corresponding storage path of the device is recommended to be larger than 24M before the upgrade.