Professional Documents
Culture Documents
Quidway S5700EI Series Ethernet Switches V100R006C01SPC112 Upgrade Guide PDF
Quidway S5700EI Series Ethernet Switches V100R006C01SPC112 Upgrade Guide PDF
V100R006C01SPC112
Upgrade Guide
Issue
01
Date
2012-04-10
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and
the customer. All or part of the products, services and features described in this document may not be
within the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements,
information, and recommendations in this document are provided "AS IS" without warranties, guarantees or
representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.
Website:
http://www.huawei.com
Email:
support@huawei.com
Issue 01 (2012-04-10)
Change History
Change History
Changes between document issues are cumulative. The latest document issue contains all the
changes in earlier issues.
Issue 01 (2012-04-10)
This issue is the first official release.
Issue 01 (2012-04-10)
ii
Contents
Contents
Change History ................................................................................................................................ ii
1 Before You Start............................................................................................................................. 1
1.1 Version Requirements Before Upgrade ............................................................................................................ 1
1.2 Impact of Patch Installation .............................................................................................................................. 1
1.3 Impact on the System During Installation ........................................................................................................ 1
1.3.1 Impact on the System After Installation .................................................................................................. 2
1.4 Cautionary Notes Before the Upgrade ............................................................................................................. 2
iii
Contents
5.2.2 Upgrading a New Member Switch Using the Intelligent Upgrade Function ........................................ 33
Issue 01 (2012-04-10)
iv
Upgrade Instruction
S5700:
V100R006C00SPC300
V100R006C00SPC500
V100R006C01
The service interruption time depends on many factors, such as the system software size, upgrade
method, operator's skill, and service configurations. The following service interruption time is for your
reference.
In the following examples, the switches are not configured and they are not in any stack. In
addition, all these switches can provide the PoE function.
Issue 01 (2012-04-10)
If the switches are upgraded by using the BootROM and the system software is uploaded
through the serial interface, the service interruption time is as follows (the baudrate is
115200):
S5700: 44 minutes
If the switches are upgraded by using the BootROM and the system software is uploaded
through the network port (FTP mode), the service interruption time is as follows:
S5700: 6 minutes
If the switches are upgraded by using the command line, the service interruption time is as
follows:
S5700: 3 minutes
The flash memory of the S3728/S3752 can store only one startup file; therefore, delete
the current startup file before performing the upgrade. (If there are remaining files in the
flash memory, delete them.)
When you upgrade the software using the command line, stack upgrade, or USB flash
drive, do not copy or delete files.
After the version is upgraded, ensure that the configuration is saved because a later
version is compatible with early versions but an early version is incompatible with later
versions. If the configuration is not saved, the configuration will be lost in the case of
version rollback.
If the loopback local swap-mac or loopback remote swap-mac command has been
used on an interface in V100R006 to configure MAC swap loopback, run the start
command in the interface view after the upgrade; otherwise, the MAC swap loopback
configuration will be invalid.
After the arp learning dhcp-trigger command is used on a VLANIF interface of the
DHCP relay agent in V100R006, dynamic ARP entries are generated only after DHCP
snooping in the corresponding VLAN or on the physical interface connected to users.
Issue 01 (2012-04-10)
2 Upgrade Process
Upgrade Process
Preparation
See chapter 3
Yes
Upgrade
Yes
Verification
No
See chapter 6
Rollback
See chapter 7
Yes
End
NOTE
Issue 01 (2012-04-10)
Item
Check Point
Result
In the following sections, the S5700EI is used as an example to describe the upgrade.
Issue 01 (2012-04-10)
You can log in to the switch from a PC through the serial interface or Telnet.
The server and the switch can communicate with each other.
Issue 01 (2012-04-10)
Figure 3-1 Network diagram of upgrading the system using TFTP or FTP
The RS-232 serial interface on the PC and the console interface on the switch are
connected through a console cable.
Issue 01 (2012-04-10)
Matching Software
System software
BootROM
S5700-EI:
S5700EIV100R006C01SPC112.CC
S5700-EI: S5700EI_bootrom.bin
System software
S5700-EI:
S5700EIV100R006C01SPC112.CC
Attr
-rw-rw-rw-rw-
Size(Byte)
11,065,564
1,998
3,284
90,602
Date
Time
FileName
Nov 02 2010 15:44:50 s5700ei-v100r006c00.cc
Oct 13 2011 07:57:22 private-data.txt
Oct 13 2011 07:57:07 vrpcfg.zip
Nov 04 2010 16:10:03 s27_37_57-v100r006sph005.pat
Issue 01 (2012-04-10)
Before upgrading an S3700 to V100R006, delete the current startup file to free up the flash
memory space.
If no system software is stored on the device, do not restart or power cycle the device during
the upgrade. Otherwise, the system may break down. If the device is powered off
unexpectedly during the upgrade, use the BootROM to upgrade the device. If the upgrade
using BootROM fails, contact Huawei engineers.
3. Run the delete command to delete unnecessary files to ensure there is enough space for
storing relevant upgrade files. Before deleting the unnecessary files, ensure that the files are
backed up or are unwanted. The following is an example of deleting the s-s5700.cc file. For
details, see "Managing the File System" in the Quidway S3700/S5700 Series Ethernet
Switches Configuration Guide Basic Configurations.
After you run the delete /unreserved command to delete a file from the flash, the file cannot
be restored; therefore, run this command with caution, and a file backup is recommended.
<Quidway> delete /unreserved s-s5700.cc
Warning: The contents of file flash:/ s-s5700.cc cannot be recycled. Continue? [Y/N]:y
Info: Deleting file flash:/ s-s5700.cc...
Deleting file permanently from flash will take a long time if needed.......
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................su
cceeded.
----End
Issue 01 (2012-04-10)
Impact
Time
Required
Requirements
The available space in the flash memory is sufficient for storing the
system software.
Before the S3700 is upgraded, you must delete the original startup file. For details on how to delete
the original startup file, see section 3.7 Checking the Flash Memory Space.
The methods of upgrading the system software using command line are similar on the S3700, and
the S5700. In the following description, the system software of the S5700EI is upgraded.
The S3700HI/S5700 has a dedicated management interface, namely, MEth. The MEth interface can
be used as the Layer 3 interface.
Before the upgrade, use the terminal monitor command to enable the terminal to display logs, traps,
and debugging information sent from the information center.
You can use any of the following methods to load the system software:
Issue 01 (2012-04-10)
Click Browse to set the directory for storing the new system software.
The TFTP server address in Server interface is automatically set by the system, for
example, 10.164.30.29. However, if the IP address is incorrect you can manually change
it.
CAUTION
Do not stop the TFTP server program when you are backing up data.
2. Back up the system software, configuration file, and patch files to the TFTP server.
Before the backup, check the size of the configuration file. After the backup, compare the size
of the original file with the size of the backup file. Ensure that the two files are the same size.
<Quidway> dir *.cc
Directory of flash:/
Idx Attr
0 -rw-
Size(Byte) Date
Time
FileName
11,065,564 Nov 02 2010 15:44:50 s5700ei-v100r006c00.cc
Issue 01 (2012-04-10)
10
Idx Attr
0 -rw-
Size(Byte) Date
Time
FileName
3,284 Oct 13 2011 07:57:07 vrpcfg.zip
Size(Byte) Date
Time(LMT)
90,602 Nov 04 2010 16:10:03
FileName
S27_37_57-v100r006sph005.pat
Run the following commands on the S5700EI to back up the data. The backup system
software is s5700ei-v100r006c00-bak.cc, the backup configuration file is vrpcfg-bak.zip,
and the patch file is s27_37_57-v100r006sph005-bak.pat.
<Quidway> tftp 10.164.30.29 put s5700ei-v100r006c00.cc s5700ei-v100r006c00-bak.cc
Info: Transfer file in binary mode.
Uploading the file to the remote TFTP server. Please wait...|
TFTP: Uploading the file successfully.
11065564 bytes send in 91 seconds.
<Quidway> tftp 10.164.30.29 put vrpcfg.zip vrpcfg-bak.zip
Info: Transfer file in binary mode.
Uploading the file to the remote TFTP server. Please wait.../
TFTP: Uploading the file successfully.
3284 bytes send in 0.01 second.
<Quidway> tftp 10.164.30.29 put s27_37_57-v100r006sph005.pat
s27_37_57-v100r006sph005-bak.pat
Info: Transfer file in binary mode.
Uploading the file to the remote TFTP server. Please wait...\
TFTP: Uploading the file successfully.
90602 bytes send in 1 second.
3. Obtain the system software of the target version from the server.
<Quidway> tftp 10.164.30.29 get S5700EI-V100R006C01SPC112.cc
Info: Transfer file in binary mode.
Downloading the file from the remote TFTP server. Please wait.../
TFTP: Downloading the file successfully.
12082108 bytes received in 93 seconds
If the message "Downloading the file successfully" is displayed, the system software has been
downloaded.
4. (Optional) Obtain the new configuration file from the server.
If the configuration file does not need to be changed after the upgrade, this step is not
required.
<Quidway> tftp 10.164.30.29 get vrpcfgnew.zip
Info: Transfer file in binary mode.
Downloading the file from the remote TFTP server. Please wait.../
TFTP: Downloading the file successfully.
2757 bytes received in 1 second.
5. Specify the system software in service, which is loaded when the S5700EI is started.
<Quidway> startup system-software S5700EIV100R006C01SPC112.CC
.cc
Issue 01 (2012-04-10)
11
If the following information is displayed after you run the startup system-software file command, enter
Y to update the BootROM. If the BootROM is upgraded successfully, go to step 7; otherwise, go to step
6.
Warning: Basic BOOTROM will be upgraded. Continue?(Y/N)[N]: y
BOOTROM begin to be upgraded ! please wait for a moment
Info: BOOTROM UPGRADE OK
Succeeded in setting the software for booting system.
6. (Optional) Upgrade the BootROM in service, which is loaded when the S5700EI is started.
<Quidway> system-view
[Quidway] upgrade basic-bootrom S5700EIV100R006C01SPC112.CC
Confirm basic BOOTROM will be upgrade?(Y/N)[N]: y
BOOTROM begin to upgraded ! please wait for a minute...
Info: BOOTROM UPGRADE OK
Succeeded in setting the software for booting system.
In the V100R005 and V100R006, the BootROM is upgraded automatically. To upgrade the software to
other versions, you must upgrade the BootROM manually. For details about automatic BootROM
upgrade, see Step 5. In the case of a version rollback, you are advised to manually upgrade the
BootROM to prevent a rollback failure
When the system asks you whether to save the configuration, enter y or n. After the setting is
complete, enter y to restart the system.
<Quidway> reboot
Info: The system is now comparing the configuration, please wait.
Warning: All the configuration will be saved to the configuration file for the next
startup:flash:/vrpcfg.zip, Continue?[Y/N]:y
Now saving the current configuration to the slot 0.
Info: Save the configuration successfully.
System will reboot! Continue?[Y/N]:
y
Info: system is rebooting, please wait
----End
Issue 01 (2012-04-10)
12
Store the file to be uploaded in the specified directory (for example, D:\>directory). Choose
Start > Run. Enter cmd and press Enter. Enter FTP 1.1.1.1. Enter the user name at the user
prompt and the password at the password prompt, and then press Enter. The following
information is displayed:
D:\>ftp 1.1.1.1
Connected to 1.1.1.1.
220 FTP service ready.
User (1.1.1.1:(none)): ftpuser
331 Password required for 1.
Password:
230 User logged in.
ftp>
The preceding output indicates the configuration file has been transferred and you can find it
in D:\>.
ftp> get vrpcfg.zip
200 Port command okay.
150 Opening BINARY mode data connection for vrpcfg.zip
226 Transfer complete.
Issue 01 (2012-04-10)
13
The preceding output indicates the configuration file has been transferred and you can find it
in D:\>.
ftp> get s27_37_57-v100r006sph005.pat
200 Port command okay.
150 Opening BINARY mode data connection for s27_37_57-v100r006sph005.pat.
226 Transfer complete.
ftp: 333436 bytes received in 0.25Seconds 1333.74Kbytes/sec.
The preceding output indicates the configuration file has been transferred and you can find it
in D:\>.
5. Upload the system software for the S5700EI.
Run the put source-filename [ destination-filename ] command on the FTP client (PC) to
upload the system software from the PC.
ftp> put D:\S5700EIV100R006C01SPC112.CC
200 Port command okay.
150 Opening BINARY mode data connection for S5700EIV100R006C01SPC112.CC.
226 Transfer complete.
ftp: 12082108 bytes in 87.10Seconds 140.76Kbytes/sec.
ftp>
7. Specify the system software in service, which is loaded when the S5700EI is started.
<Quidway> startup system-software S5700EIV100R006C01SPC112.CC
If the following information is displayed after you run the startup system-software file command, enter
Y to update the BootROM. If the BootROM is upgraded successfully, go to step 9; otherwise, go to step
8.
Warning: Basic BOOTROM will be upgraded. Continue?(Y/N)[N]: y
BOOTROM begin to be upgraded ! please wait for a moment
Info: BOOTROM UPGRADE OK
Succeeded in setting the software for booting system.
8. (Optional) Upgrade the BootROM in service, which is loaded when the S5700EI is started.
<Quidway> system-view
[Quidway] upgrade basic-bootrom S5700EIV100R006C01SPC112.CC
Warning: Basic BOOTROM will be upgraded. Continue?(Y/N)[N]: y
Upgrading BOOTROM,please wait for a moment
[Slot 0]:
Info: BOOTROM UPGRADE OK.
Issue 01 (2012-04-10)
14
In the V100R005 and V100R006, the BootROM is upgraded automatically. To upgrade the software to
other versions, you must upgrade the BootROM manually. For details about automatic BootROM
upgrade, see Step 7. In the case of a version rollback, you are advised to manually upgrade the
BootROM to prevent a rollback failure
When the system asks you whether to save the configuration, enter y or n. After the setting is
complete, enter y to restart the system.
<Quidway> reboot
Info: The system is now comparing the configuration, please wait.
Warning: All the configuration will be saved to the configuration file for the next
startup:flash:/vrpcfg.zip, Continue?[Y/N]:y
Now saving the current configuration to the slot 0.
Info: Save the configuration successfully.
System will reboot! Continue?[Y/N]:
y
Info: system is rebooting, please wait
----End
Click New User to set the user name and password. Here, the user name is S5700 and the
password is 123456. Enter the FTP root directory in the Home Directory text box. Here, the
root directory is D:\ftp. Click Done to close the dialog box.
Do not stop the FTP server program when you are backing up data.
2. Back up the system software, configuration file, and patch files.
Issue 01 (2012-04-10)
15
The FTP commands on the S5700EI are the same as the FTP commands in the DOS system.
Assume that the IP address of the FTP server is 10.164.30.27, the FTP user name is S5700,
and the password of the FTP user is 123456.
<Quidway> cd flash:/
<Quidway> ftp 10.164.30.27
Trying 10.164.30.27 ...
Press CTRL+K to abort
Connected to 10.164.30.27.
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User(10.164.30.27:(none)):S5700 # Enter the user name and press Enter.
331 Give me your password, please
Enter password: # Enter the password 123456 and press Enter. The password displayed
on the screen is in cipher text.
230 Logged in successfully
[ftp] binary
200 Type is Image (Binary)
Back up the system software s5700ei-v100r006c00.cc to the FTP server and specify the name
of the backup file as s5700ei-v100r006c00-bak.cc. If the name of the backup file is not
specified, the original name is used.
[ftp] put S5700EIV100R006C01SPC112.CC s5700ei-v100r006c01-bak.cc
200 PORT command successful
150 Opening BINARY mode data connection for file transfer
226 Transfer complete.
FTP: 11065564 byte(s) sent in 81.176 second(s) 1296.55Kbyte(s)/sec.
Back up the configuration file vrpcfg.zip to the FTP server and specify the name of the
backup file as vrpcfg-bak.zip. If the name of the backup file is not specified, the original
name is used.
[ftp] put vrpcfg.zip vrpcfg-bak.zip
200 PORT command successful
150 Opening BINARY mode data connection for file transfer
226 Transfer complete.
FTP: 1387 byte(s) sent in 0.176 second(s) 22.04Kbyte(s)/sec.
Back up the patch file s27_37_57-v100r006sph005.pat to the FTP server and specify the
name of the backup file as s27_37_57-v100r006sph005bak.pat. If the name of the backup
file is not specified, the original name is used.
[ftp] put s27_37_57-v100r006sph005.pat s27_37_57-v100r006sph005bak.pat
200 PORT command okay
150 "D:\ftp\ s27_37_57-v100r006sph005bak.pat" file ready to receive in IMAGE / Binary
mode
226 Transfer finished successfully.
FTP: 333436 byte(s) sent in 0.322 second(s) 1035.51Kbyte(s)/sec.
Issue 01 (2012-04-10)
16
You can specify the filename of the upgrade program. If the filename is not specified, the
original name is used.
4. (Optional) Obtain the new configuration file.
If the configuration file does not need to be changed after the upgrade, this step is not
required.
[ftp] get vrpcfgnew.zip
6. Specify the system software in service, which is loaded when the S5700EI is started.
<Quidway> startup system-software S5700EIV100R006C01SPC112.CC
If the following information is displayed after you run the startup system-software file command, enter
Y to update the BootROM. If the BootROM is upgraded successfully, go to step 8; otherwise, go to step
7.
Warning: Basic BOOTROM will be upgraded. Continue?(Y/N)[N]: y
BOOTROM begin to be upgraded ! please wait for a moment
Info: BOOTROM UPGRADE OK
Succeeded in setting the software for booting system.
7. (Optional) Upgrade the BootROM in service, which is loaded when the S5700EI is started.
<Quidway> system-view
[Quidway] upgrade basic-bootrom S5700EIV100R006C01SPC112.CC
Warning: Basic BOOTROM will be upgraded. Continue?(Y/N)[N]: y
Upgrading BOOTROM,please wait for a moment
[Slot 0]:
Info: BOOTROM UPGRADE OK.
In the V100R005 and V100R006, the BootROM is upgraded automatically. To upgrade the software to
other versions, you must upgrade the BootROM manually. For details about automatic BootROM
upgrade, see Step 6. In the case of a version rollback, you are advised to manually upgrade the
BootROM to prevent a rollback failure.
After the software is upgraded to V100R006C01SPC112, you must specify the system software for next
startup. If the system software is not specified or the invalid software is specified, the device will fail to
restart. For details about specifying the system software for next startup, see step 6.
When the system asks you whether to save the configuration, enter y or n. After the setting is
complete, enter y to restart the system.
<Quidway> reboot
Info: The system is now comparing the configuration, please wait.
Warning: All the configuration will be saved to the configuration file for the next
startup:flash:/vrpcfg.zip, Continue?[Y/N]:y
Now saving the current configuration to the slot 0.
Info: Save the configuration successfully.
Issue 01 (2012-04-10)
17
----End
Upgrade BootROM
Upload system
software
See 4.2.1
See 4.2.2
Specify startup
software
See 4.2.3
See 4.2.4
End
The methods for upgrading the system software using the BootROM are similar on the S3700, and the
S5700. Here, the method for upgrading the system software on the S5700EI is taken as an example.
Issue 01 (2012-04-10)
18
Impact
Services are interrupted during the upgrade and the device reboot.
Time
Required
The upgrade takes about 100 seconds when the transmission rate of the
serial interface is 115200 bit/s.
Prerequisites
After backing up the key data in the flash memory, you must run the
reboot command in the user view to restart the system.
Do not restart or power off the S5700EI when the information "Update BOOTROM
system" is being displayed during the upgrade of the BootROM. Otherwise, the S5700EI
runs abnormally. In this case, contact Huawei technical personnel.
You can restart or power off the S5700EI only when the message "done!" is displayed.
The BootROM menu varies according to the version. Here, the BootROM of
V100R006C01SPC112 is taken as an example.
1. Use a serial cable to connect the serial interfaces on the PC and the S5700EI and start the
HyperTerminal on the PC.
2. Enter the connection name and click OK.
3. Select the serial interface and click OK.
4. On the COM Properties page, click Restore Defaults. Then set the value of Bits per second
to 9600 and click OK.
5. If the prompt is displayed on the HyperTerminal, the HyperTerminal is connected to the
S5700EI. In this case, you can upgrade the S5700EI using the BootROM.
6. Enter the BootROM menu.
Before entering the BootROM menu, you need to restart the S5700EI. During the restart of
the S5700EI, the following information is displayed:
Press Ctrl+B to enter BOOTROM menu... 1
Press Ctrl+B before the countdown timer expires, and then enter the password. The default
password is huawei or www.huawei.com. Then the advanced BootROM menu is displayed.
The following information is displayed:
BOOTROM MENU
1.
2.
3.
4.
5.
6.
7.
Issue 01 (2012-04-10)
19
Changing the transmission rate of the serial interface causes interruption of the
communication between the PC and S5700EI. To restore the communication between the PC
and the S5700EI, you must set the transmission rate of the serial interface on the PC the same
as that of the serial interface on the S5700EI.
Select 3. Modify serial interface parameter. The following information is displayed:
Enter your choice(1-5): 3
1: 9600(default)
2: 19200
3: 38400
4: 57600
5: 115200
please select an appropriate baudrate:
Enter your choice(1-5):
Select the transmission rate for the serial interface as required. The transmission rate is
expressed in bit/s. The default transmission rate of the serial interface on the S5700EI is 9600
bit/s. A greater value you enter represents a higher transmission rate of the serial interface. It
is recommended that you enter 5: 115200.
If you change the transmission rate of the serial interface on the S5700EI, set the transmission
rate of the serial interface on the PC the same as that of the serial interface on the S5700EI. In
this manner, you can restore the communication between the PC and the S5700EI.
For example, after you select 5: 115200, the following information is displayed:
BaudRate is 115200 bps. Please change the terminal's speed to 115200 bps
In this case, you need to perform the following settings on the HyperTerminal of the PC to
restore the communication between the PC and the S5700EI:
On the Connect To tab page, click Configure. The COM Properties dialog box is
displayed.
Issue 01 (2012-04-10)
20
On the HyperTerminal, choose Call > Call. Press Enter. The connection is
reestablished.
The BootROMs for products of various series are incompatible with each other. For example,
the BootROM of the S5700 cannot be used to upgrade the BootROM of the S3700; the
BootROM of the S3700 cannot be used to upgrade the BootROM of the S5700.
Select 1. Update BootROM system. The following information is displayed:
Enter your choice(1-4): 1
Please Select File.
XMODEM downloading ...CC
Choose Transfer > Send File. The Send File dialog box is displayed.
Click Browse. Then select the S5700EI_bootrom.bin file for upgrading the BootROM.
Then, the S5700EI automatically upgrades the BootROM by using the upgrade file. After the
upgrade, the S5700EI automatically returns to the BootROM menu.
10. After the BootROM is upgraded, restore the default rates of the serial interface and the
HyperTerminal, and then reestablish the connection.
Select 4. Return to main menu in the BootROM menu to return to the BootROM menu, and
then select 7. Reboot to reboot the BootROM.
----End
Issue 01 (2012-04-10)
21
Impact
Services are interrupted during the system software uploading and the
device reboot.
Time Required
Prerequisites
The flash memory has enough space to store the system software.
Press Ctrl+B before the countdown timer expires, and then enter the password. The default
password is huawei. Then the advanced BootROM menu is displayed. The following
information is displayed:
BOOTROM MENU
1.
2.
3.
4.
5.
6.
7.
Issue 01 (2012-04-10)
22
Changing the transmission rate of the serial interface causes interruption of the
communication between the PC and S5700EI. To restore the communication between the PC
and the S5700EI, you must set the transmission rate of the serial interface on the PC the same
as that of the serial interface on the S5700EI.
Select 3. Modify serial interface boot parameter. The following information is displayed:
1:
2:
3:
4:
5:
9600(default)
19200
38400
57600
115200
Select the transmission rate for the serial interface as required. The transmission rate is
expressed in bit/s. The default transmission rate of the serial interface on the S5700EI is 9600
bit/s. A greater value you enter represents a higher transmission rate of the serial interface. It
is recommended that you enter 5. 115200. If you change the transmission rate of the serial
interface on the S5700EI, set the transmission rate of the serial interface on the PC the same
as that of the serial interface on the S5700EI. In this manner, you can restore the
communication between the PC and the S5700EI.
For example, after you select 5: 115200, the following information is displayed:
BaudRate is 115200 bps. Please change the terminal's speed to 115200 bps
In this case, you need to perform the following settings on the HyperTerminal of the PC to
restore the communication between the PC and the S5700EI:
On the Connect To tab page, click Configure. The COM Properties dialog box is
displayed.
Select 115200bit/s from the Bits per second drop-down list box.
Issue 01 (2012-04-10)
23
Choose Transfer > Send File. The Send File dialog box is displayed.
Click Browse to select the upgrade file of the system software. Then select Xmodem from the
Protocol drop-down list box. Click Send to start sending the file.
After transferring the upgrade file, the system prompts you whether to change the file name. If
no, save it with the default file name. The default file name is not the uploaded file name. The
system software name in the flash memory or the default file name hw-switch.cc is used.
Generally, it is recommended that the file name be changed.
Only the files with the file name extension .cc can be used as the upgrade files of the system software on
the S5700EI.
If the file S5700EIV100R006C01SPC112.CC has already been saved in the flash memory,
the system prompts you whether to overwrite the existing file with the new one. The
following information is displayed:
flash:/ S5700EIV100R006C01SPC112.CC already exist,
delete it?(Y/N):y
Deleting file.......................................done
took time : 251s
Writing
Flash.............................................................................
..................................................................................
..............done
file length: 12082108 bytes, took time : 244s
SERIAL SUBMENU
1.
2.
3.
4.
After the upgrade file is transferred, select 4. Return to main menu to return to the
BootROM menu.
----End
Issue 01 (2012-04-10)
24
Impact
Services are interrupted during the system software uploading and the
device reboot.
Time
Required
Prerequisites
The flash memory has enough space to store the system software.
Select 4. Return to main menu in the BootROM menu to return to the BootROM menu,
and then select 7. Reboot to reboot the BootROM. Enter the BootROM menu and load
the system software. In addition, specify the software to be loaded in the startup.
Upgrade the system software using the network interface in the BootROM menu.
Press Ctrl+B before the countdown timer expires, and then enter the password. The default
password is huawei. Then the advanced BootROM menu is displayed. The following
information is displayed:
BOOTROM MENU
1.
2.
3.
4.
5.
6.
7.
Issue 01 (2012-04-10)
25
: 192.168.1.15:FFFFFF00
: 192.168.1.40
: cx
: cx
: et
: 0
: 0
: host
: S5700EIV100R006C01SPC112.CC
Issue 01 (2012-04-10)
26
Writing
Flash.............................................................................
..................done
File length: 12082108 bytes
Took time : 90s
After the upgrade file is transferred, select 4. Return to main menu to return to the
BootROM menu.
----End
Impact
Services are interrupted when you are specifying the system software and
the device is restarting.
Prerequisite
2. Select 2. Modify startup configuration to set the startup mode of the S5700EI, system
software, configuration file, license file, and patch file. The following information is
displayed:
Note: startup file field cannot be cleared
'.'=clear field; '^D'=quit; Enter=use current configuration
startup type(1: Flash 2: Server)
current: 1
new
: 1
Flash startup file (cannot be cleared)
current:
new
: S5700EIV100R006C01SPC112.CC
saved-configuration file
current: vrpcfg.zip
new
:
license file
current:
Issue 01 (2012-04-10)
27
new
:
patch package
current:
new
:
Description
startup type
Startup mode:
saved-configuration file
patch package
current
new
3. After entering the startup information, select 3. Return to main menu to return to the
BootROM menu.
BOOTROM MENU
1.
2.
3.
4.
5.
6.
7.
Enter
----End
Issue 01 (2012-04-10)
28
Enter 7. Reboot on the advanced BootROM menu to restart the switch. Then, the S5700EI
restores the baud rate on the console interface to 9600 bit/s. The baud rate of the
HyperTerminal also needs to be set to 9600 bit/s. The PC then can communicate with the
S5700EI.
Issue 01 (2012-04-10)
29
Impact
Time
Required
Prerequisites
The flash memory has enough space to store the system software.
The methods of for upgrading the system software of the S3700EI, and the S5700 using the
command line interface are similar. The section describes only how to download the system software
by using the S5700 as the FTP server. For other methods of loading the system software, see the
Quidway S5700 Series Ethernet Switches Configuration Guide - Basic Configurations.
The S5700 provides a management interface MEth. You can use this interface as a Layer 3 interface.
To retain the roles of the master and slave devices after the upgrade, set priority of the master switch
to be the highest in the stack before the upgrade.
When an S3700 is upgraded to V100R006, you must delete the startup file because the flash
memory space is limited.
The following operations are performed on the master switch. Here, the stack contains two
member switches.
Issue 01 (2012-04-10)
30
1. Check and ensure that all the member switches have sufficient available space in the flash
memory. For details, see section 3.7 "Checking the Flash Memory Space".
2. Configure the switch as the FTP server.
Start the FTP service on the switch, and set the FTP user name to ftpuser and password to
ftppwd.
<Quidway> system-view
[Quidway] ftp server enable
[Quidway] aaa
[Quidway-aaa] local-user ftpuser password simple ftppwd
[Quidway-aaa] local-user ftpuser service-type ftp
[Quidway-aaa] local-user ftpuser ftp-directory flash:
[Quidway-aaa] return
Store the file to be uploaded in the specified directory (for example, D:\>directory). Choose
Start > Run. Enter cmd and press Enter. Enter FTP 1.1.1.1. Enter the user name at the user
prompt and the password at the password prompt, and then press Enter. The following
information is displayed:
D:\>ftp 1.1.1.1
Connected to 1.1.1.1.
220 FTP service ready.
User (1.1.1.2:(none)): ftpuser
331 Password required for 1.
Password:
230 User logged in.
ftp>
Issue 01 (2012-04-10)
31
If the following information is displayed after you run the startup system-software file command, enter
y to upgrade the BootROM.
Warning: Basic BOOTROM will be upgraded. Continue?(Y/N)[N]: y
BOOTROM begin to be upgraded ! please wait for a moment
Info: BOOTROM UPGRADE OK
Info: Succeeded in setting the software for booting system on 0.
100% complete\
Info: Copied file flash:/ S5700EIV100R006C01SPC112.CC to
slot1#flash:/ S5700EIV100R006C01SPC112.CC...Done.
Info: Succeeded in setting the software for booting system on 1.
When the system asks you whether to save the configuration, enter y or n. After the setting is
complete, enter y to restart the system.
<Quidway> reboot
Info: The system is now comparing the configuration, please wait.
Warning: All the configuration will be saved to the configuration file for the next
startup:flash:/vrpcfg.zip, Continue?[Y/N]:y
Now saving the current configuration to the slot 0.
Info: Save the configuration successfully.
Now saving the current configuration to the slot 1.
Info: Save the configuration successfully.
System will reboot! Continue?[Y/N]:
y
Info: system is rebooting, please wait
----End
Issue 01 (2012-04-10)
32
All the member switches use the same software version. If the master switch detects a
different software version on the new member switch, it upgrades or rolls back the
software of the new member switch to the version of the stack.
The S3752 supports a maximum of eight switches in a stack system. The other S3700 models and the
S5700 support up to nine switches in a stack system.
The S3752 and S3728 cannot be added to the same stack system.
All the member switches belong to the same series. That is, the EI series and HI series
cannot form a stack.
All the member switches are connected by using stack cables and stack modules.
The stack processes version upgrade and rollback for new member switches in the same way.
The new member switch and the current stack members belong to the same series.
The new member switch is connected to other member switches by using stack cables
and stack modules.
The stacking function is enabled on the new member switch. (This function is enabled by
default.)
If the flash memory of the new member switch does not have sufficient space to store the
startup software package, the switch automatically deletes a software package to free up
the space. If the switch is an S5700, it deletes a non-startup software package. If the switch
is an S3700, it deletes the current startup software package. If the available space in the
flash memory is still insufficient for the upgrade software, the switch restarts repeatedly. In
this case, upgrade the software of the switch to the version of the stack system manually,
and then add the switch to the stack. For the upgrade procedure, see chapter 4 Upgrade
Operations on a Single Switch.
During the upgrade, ensure that the stack cables are functioning properly. If the upgrade of
a switch fails, upgrade the system software of the switch to the version of the stack
manually, and then add the switch to the stack.
Upgrade Process
Start the new member switch.
The master switch of the stack automatically upgrades the new switch. If the upgrade is
successful, the following information will be displayed:
Issue 01 (2012-04-10)
33
If the flash memory of the new member switch does not have sufficient space for the upgrade
software, the following information is displayed:
On the master switch:
In Stack, device 0 load to new device 1 .......... start
In Stack, device 0 load to new device 1 .......... fail
Manually upgrade the system software of the switch to the version of the stack system, and
then add the switch to the stack system. For details, see sections 4.1 Upgrading the Switch to
V100R006C01SPC112 Using the Command Line or 4.2 Upgrading the Switch to the
V100R006C01SPC112 Using the BootROM.
Issue 01 (2012-04-10)
34
Item
Criteria
Result
Issue 01 (2012-04-10)
35
Issue 01 (2012-04-10)
36
7 Version Rollback
Version Rollback
Load previous
software package
See 7.2.2
See 7.2.3
See 7.2.4
End
Issue 01 (2012-04-10)
37
7 Version Rollback
When the S5700 V100R006C01SPC112 is rolled back to the S5700 V100R006, pay attention
to the following point:
Only the configuration file in cfg format can be used for rollback. Before performing
version rollback, check the format of the configuration file. If the configuration file is not
in cfg format, save it in the cfg format.
Issue 01 (2012-04-10)
38