Anda di halaman 1dari 57

Quidway S2700/S3700/S5700/S6700 Series

Ethernet Switches
V100R006C00SPC800
Upgrade Guide

Issue 01
Date 2011-09-30

HUAWEI TECHNOLOGIES CO., LTD.



Copyright Huawei Technologies Co., Ltd. 2011. All rights reserved.
No part of this document may be reproduced or transmitted in any form or by any means without prior
written consent of Huawei Technologies Co., Ltd.

Trademarks and Permissions
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective
holders.

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.






Huawei Technologies Co., Ltd.
Address: Huawei Industrial Base
Bantian, Longgang
Shenzhen 518129
People's Republic of China
Website: http://www.huawei.com
Email: support@huawei.com


Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
i

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide Change History

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
ii
Change History
Changes between document issues are cumulative. The latest document issue contains all the
changes in earlier issues.
Issue 01 (2011-09-30)
This issue is the first official release.


Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide Contents

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
iii
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
2 Upgrade Process ............................................................................................................................ 4
2.1 Upgrade Flowchart........................................................................................................................................... 4
3 Preparations for Upgrade ............................................................................................................ 5
3.1 Preparation Checklist ....................................................................................................................................... 5
3.2 Checking the Current System Software Version .............................................................................................. 6
3.3 Checking the Running Status of the Device..................................................................................................... 6
3.4 Setting Up an Environment for the Upgrade.................................................................................................... 6
3.5 Obtaining Required Software for the Upgrade................................................................................................. 8
3.6 Backing Up the Key Data in the Flash Memory .............................................................................................. 9
3.7 Checking the Flash Memory Space.................................................................................................................. 9
4 Upgrade Operations on a Single Switch ................................................................................ 12
4.1 Upgrading the Switch to V100R006C00SPC800 Using the Command Line................................................. 12
4.2 Upgrading the Switch to the V100R006C00SPC800 Using the BootROM................................................... 21
4.2.1 Upgrading the BootROM...................................................................................................................... 22
4.2.2 Uploading the System Software............................................................................................................ 26
4.2.3 Specifying the System Software to Be Loaded for Starting the Switch................................................ 31
4.2.4 Restarting the Switch ............................................................................................................................ 33

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide Contents

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
iv
4.3 Upgrading the S5700-SI to V100R006C00SPC800 Using the USB Flash Drive .......................................... 33
4.3.1 Overview............................................................................................................................................... 33
4.3.2 Upgrading the Software Using the USB Flash Drive............................................................................ 34
5 Upgrade Operations on a Stack................................................................................................ 38
5.1 Upgrading All Stack Member Switches to V100R006C00SPC800 by Using the Command Line ................ 38
5.2 Using the Intelligent Upgrade Function ......................................................................................................... 41
5.2.1 Overview............................................................................................................................................... 41
5.2.2 Upgrading a New Member Switch Using the Intelligent Upgrade Function ........................................ 42
6 Verifying the Upgrade ............................................................................................................... 45
6.1 Verification Checklist ..................................................................................................................................... 45
6.2 Checking the Current System Software Version ............................................................................................ 45
6.3 Checking the Device Running Status ............................................................................................................. 46
6.4 Checking the System Configuration............................................................................................................... 46
7 Version Rollback......................................................................................................................... 48
7.1 S2700 Version Rollback................................................................................................................................. 48
7.1.1 Version Rollback Flowchart.................................................................................................................. 48
7.1.2 Loading the Previous System Software ................................................................................................ 49
7.1.3 Performing Version Rollback................................................................................................................ 49
7.1.4 Verifying Version Rollback................................................................................................................... 49
7.2 S3700 Version Rollback................................................................................................................................. 50
7.2.1 Version Rollback Flowchart.................................................................................................................. 50
7.2.2 Loading the Previous System Software ................................................................................................ 50
7.2.3 Performing Version Rollback................................................................................................................ 51
7.2.4 Verifying Version Rollback................................................................................................................... 51
7.3 S5700 Version Rollback................................................................................................................................. 51
7.3.1 Version Rollback Flowchart.................................................................................................................. 51
7.3.2 Loading the Previous System Software ................................................................................................ 52
7.3.3 Performing Version Rollback................................................................................................................ 52
7.3.4 Verifying Version Rollback................................................................................................................... 52


Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 1 Before You Start

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
1
1 Before You Start
1.1 Version Requirements Before Upgrade
T efore u able 1-1 Version requirements b pgrade
Version Upgrade Instruction
S2700, S3700, S5700, S6
V100R006C00SPC300
700
V100R006C00SPC500
V100R006C00SPC600
This version can be directly upgraded to
V100R006C00SPC800.

1.2 Impact
Before you upgrade an earlier version to the V100R006C00SPC800, read this chapter
ing system.
he System During Installation
Impact on Servic
The
of Patch Installation
carefully to understand the possible impacts of the upgrade on the exist
1.3 Impact on t
es
switch will restart during the upgrade and service will be interrupted.

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 1 Before You Start

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
2
NOTE

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
owing examples, the switches are not configured and they are not in any stack. In
addition, all these switches can provide the PoE function.
ed by using the BootROM and the system software is uploaded
throu e, the service interruption time is as follows (the baudrate is
52
If the swit ed by using the BootROM and the system software is uploaded
ou TP mode), the service interruption time is as follows:
0: 5.5 minutes
If the ded by using the command line, the service interruption time is as
When the system restarts, the communication between the switch and the NMS is interrupted.
e as the service interruption time.
1.3.1 Impact on the System After Installation
1.4 Cautionar
reference.
In the foll
If the switches are upgrad
gh the serial interfac
11 00):

S2700: 30 minutes

S3700: 37 minutes

S5700: 44 minutes
ches are upgrad
thr gh the network port (F

S2700: 5.5 minutes

S370

S5700: 6 minutes
switches are upgra
follows:

S2700: 3 minutes

S3700: 3 minutes

S5700: 3 minutes
Impact on Network Communication
The communication interruption time is the sam
There is no adverse impact on the system.
y Notes Before the Upgrade
Consider the following cautionary points before performing the upgrade:

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 1 Before You Start

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
3

The flash memory of the S3728/S3752/S2752 can store only one startup file; therefo
delete the current startup file before performing the upgrade. (If there are remaining files
in the flash memory, delete them.)
When you upgrade
re,


the software using the command line, stack upgrade, or USB flash

not saved, the configuration will be lost in the case of

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.
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
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

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 2 Upgrade Process

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
4
2 Upgrade Process
2.1 Upgrade Flowchart
Figure 2-1 Upgrade flowchart
Start
Preparation
Upgrade
See chapter 3
See chapters 4 and 5
Verification See chapter 6 Rollback See chapter 7
Yes
Yes
No
End
Yes


NOTE

In the following chapters, the version is upgraded to V100R006C00SPC800.

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 3 Preparations for Upgrade

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
5
3 Preparations for Upgrade
3.1 Prepara
Table 3-1 t
tion Checklist
Upgrade preparation checklis
No. Item Check Point Result
1 Check the system software
version
The system software version is
between V100R006 and
V100R006C00SPC800.
2 running status of normally. Check the
the device
The switch functions
3 ironment for the ent is set up for the Set up an env
upgrade
An environm
upgrade as required.
4 software for uired for the upgrade is Obtain required
the upgrade
Software req
obtained.
5 ta in the
flash memory
ory is Back up the key da All the key data in the flash mem
backed up.
6 Check the available space in
the flash memory
The space in the flash memory is
sufficient for storing the system
software package and other files such

as patch files and configuration files.

e. In the following sections, the S2700 is used as an example to describe the upgrad

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 3 Preparations for Upgrade

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
6
3.2 Checking the Current System Software Version
un the display version command to view the version of the system software.
ion
Routing Platform Software
700 V100R006C00)

EDFEA 0(Master) : EDFE uptime is 0 day, 0 hour, 1 minute
3.3 Checking the Running Status of the Device
Status is
Normal, the device can be upgraded.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
3.4 Setting
Setting Up an Envir ading the System Using TFTP or FTP
Transfer Protocol (FTP) to download the system software, and set it
th e. Figure
s stem using
P
ent for upgrading the system using TFTP
or FTP are as follows:

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.

Files for the upgrade are stored in the server.
R
<Quidway> display vers
Huawei Versatile
VRP (R) Software, Version 5.70 (S2
Copyright (C) 2003-2010 HUAWEI TECH Co., Ltd.
Quidway S2718TP-SI Routing Switch uptime is 0 day, 0 hour, 1 minute
64M bytes DDR Memory
16M bytes FLASH
Pcb Version : CX22EDFE REV C
Basic BOOTROM Version : 118 Compiled at Nov 4 2009, 17:23:15
Software Version : VRP (R) Software, Version 5.70 (S2700 V100R006C00)
Run the display device command to check the switch running status. If the value of
<Quidway> display device
P S2718TP-EI's Device status:
Slot Sub Type Online Power Register Status Role
0 - 2718F Present PowerOn Registered Normal Master
Up an Environment for the Upgrade
onment for Upgr
In the BootROM menu or the command line view, you can use the Trivial File Transfer
Protocol (TFTP) or File
as e next startup system software. Then restart the device to complete the upgrad
3-1 hows the network diagram for setting up an environment for upgrading the sy
FT or TFTP.
The general requirements for setting up an environm

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 3 Preparations for Upgrade

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
7
Figure 3-1 Network diagram of upgrading the system using TFTP or FTP


Setting Up an Environment for Upgrading the System Using Xmodem
You can upgrade the basic and advanced BootROM software using Xmodem in the basic
BootROM menu; you can upgrade the system software using Xmodem in the BootROM
menu. Figure 3-2 shows the network diagram for setting up an environment for upgrading the
system using Xmodem.
The general requirements for setting up an environment for upgrading the system using
Xmodem are as follows:

The RS-232 serial interface on the PC and the console interface on the switch are
connected through a console cable.

Files for the upgrade are stored on the PC.
Figure 3-2 Network diagram of upgrading the system using Xmodem



Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 3 Preparations for Upgrade

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
8
3.5 Obtaining Required Software for the Upgrade
To obtain the required software for the upgrade, contact Huawei technical support personnel.
Table 3-2 Software for different upgrade methods
Upgrade Method Matching Software
Upgrading the version to
V100R006C00SPC800 using the
command line
System software

S2700: S2700-V100R006C00SPC800.CC

S2752:
S2700_52P-V100R006C00SPC800.CC

S3728:
S3700_28TP-V100R006C00SPC800.CC

S3752:
S3700_52P-V100R006C00SPC800.CC

S5700-EI:
S5700EI-V100R006C00SPC800.CC

S5700-SI:
S5700SI-V100R006C00SPC800.CC

S6700: S6700-V100R006C00SPC800.CC

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 3 Preparations for Upgrade

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
9
Upgrade Method Matching Software
Upgrading the version to
V100R006C00SPC800 using
BootROM
BootROM

S2700: S2700_bootrom.bin

S2752: S2700_52P_bootrom.bin

S3728: S3700_28TP_bootrom.bin

S3752: S3700_52P_bootrom.bin

S5700-EI: S5700EI_bootrom.bin

S5700-SI: S5700SI_bootrom.bin

S6700: S6700_bootrom.bin
System software

S2700: S2700-V100R006C00SPC800.CC

S2752:
S2700_52P-V100R006C00SPC800.CC

S3728:
S3700_28TP-V100R006C00SPC800.CC

S3752:
S3700_52P-V100R006C00SPC800.CC

S5700-EI:
S5700EI-V100R006C00SPC800.CC

S5700-SI:
S5700SI-V100R006C00SPC800.CC

S6700: S6700-V100R006C00SPC800.CC

3.6 Backing Up the Key Data in the Flash Memory
You must back up the key data stored in the flash memory before the upgrade. You can
download the data that needs to be backed up to the PC through FTP or TFTP. After the
upgrade, you can reload the backup files to the flash memory. For details, see 4.1 Upgrading
the Switch to V100R006C00SPC800 Using the Command Line.
3.7 Checking the Flash Memory Space
1. Run the dir command in the user view to check whether the flash memory space is sufficient
for the system software. If a stack is established, ensure that all the members in the stack have
enough space.

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 3 Preparations for Upgrade

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
10
The preceding information shows that there is 2,266 KB space. If there is enough space,
ignore step 2.
<Quidway> dir
Directory of flash:/

Idx Attr Size(Byte) Date Time(LMT) FileName
0 -rw- 6,458,620 Jan 08 2008 03:35:29 s2700-v100r006c00.cc
1 -rw- 603 Jan 02 2008 02:57:45 vrpcfg.zip
2 -rw- 628 Jan 01 2008 00:00:52 private-data.txt
3 -rw- 6,177,996 Jan 02 2008 02:57:00 s-s2700.cc

14,632 KB total (2,266 KB free)
2. (Optional) Load and activate the patch file S27_37_57-V100R006SPH005.pat.


Before upgrading an S2752 or 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-s2700.cc file. For
details, see "Managing the File System" in the Quidway S2700/S3700/S5700/S6700 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-s2700.cc
Warning: The contents of file flash:/ s-s2700.cc cannot be recycled. Continue? [Y/N]:y
Info: Deleting file flash:/ s-s2700.cc...
Deleting file permanently from flash will take a long time if needed.......
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................su
cceeded.

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 3 Preparations for Upgrade

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
11
----End

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
12
4 Upgrade Operations on a Single Switch
4.1 Upgrading the Switch to V100R006C00SPC800 Using
the Comm
The command line upgrade method has little impact on services; therefore, you are advised to
u operatin
and Line
pgrade an g device by using the command line.
To upgrade the system software Purpose
Services are interrupted when the device restarts. Impact
In the scenario where a single device is configured and service
deployment is simple, services are interrupted about three minutes. In
in time increases and the time depends on the complexity of
Time
Required
the scenario where service deployment is complicated, the service
terruption
service.
Requirements

ns system software of an earlier version functions
properly.

The available space in the flash memory is sufficient for storing the
system software.
The switch that ru

The S5700/S6700 has a dedicated management interface, namely, MEth. The MEth interface can be
Before the upgrade, use the terminal monitor command to enable the terminal to display logs, traps,
the information center.
u ds to load the system software:
Before the S2752/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 S2700, S3700,
S5700, and the S6700. In the following description, the system software of the S2700 is upgraded.
used as the Layer 3 interface.
and debugging information sent from
Yo can use any of the following metho

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
13

Use the S2700 as the TFTP client.

Use the S2700 as the FTP server.
Method 1: Use th

Use the S2700 as the FTP client.
e S2700 as the TFTP Client

No TFTP client software is installed on the S2700; therefore, the customer needs to buy TFTP client
software and install it. The TFTP32 program is recommended.
1. Configure the TFTP server.
n

he system, for
can manually change
Ru the TFTP server program on the PC and configure the PC:
Click Browse to set the directory for storing the new system software.

The TFTP server address in Server interface is automatically set by t
example, 10.164.30.29. However, if the IP address is incorrect you
it.



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.

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
14
Before the backup, check the size of the configuration file. After the backup, compare the size
o files are the same size.
uidway> dir *.cc
te) Date Time(LMT) FileName
0 -rw- 6,472,284 Nov 04 2010 19:43:18 s2700-v100r006c00.cc
uidway> dir *.zip
te) Date Time(LMT) FileName
0 -rw- 589 Nov 04 2010 20:55:54 vrpcfg.zip
uidway> dir *.pat

14,632 KB total (8,228 KB free)
are
atch
-v100r006c00-bak.cc


27_37_57-v100r006sph005.pat
s27_37_57-v100r006sph005-bak.pat

Uploading the file to the remote TFTP server. Please wait...\

3. from the server.
<Quidway> tftp 10.164.30.29 get S2700-V100R006C00SPC800.cc
the file from the remote TFTP server. Please wait.../
TFTP: Downloading the file successfully.
If the message "Downloading the file successfully" is displayed, the system software has been
4.
of the original file with the size of the backup file. Ensure that the tw
<Q
Directory of flash:/

Idx Attr Size(By


14,632 KB total (8,228 KB free)
<Q
Directory of flash:/

Idx Attr Size(By


14,632 KB total (8,228 KB free)
<Q
Directory of flash:/
Idx Attr Size(Byte) Date Time(LMT) FileName
0 -rw- 333,436 Jan 29 2010 16:54:40 S27_37_57-V100R006SPH005.pat

Run the following commands on the S2700 to back up the data. The backup system softw
is s2700-v100r006c00-bak.cc, the backup configuration file is vrpcfg-bak.zip, and the p
file is s27_37_57-v100r006sph005-bak.pat.
<Quidway> tftp 10.164.30.29 put s2700-v100r006c00.cc s2700
Info: Transfer file in binary mode.
Uploading the file to the remote TFTP server. Please wait...|
TFTP: Uploading the file successfully.
6472284 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. 589 bytes send in 0.01 second.
<Quidway> tftp 10.164.30.29 put s
Info: Transfer file in binary mode.
TFTP: Uploading the file successfully.
333436 bytes send in 1 second.
Obtain the system software of the target version
Info: Transfer file in binary mode.
Downloading
6502764 bytes received in 63 seconds
downloaded.
(Optional) Obtain the new configuration file from the server.

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
15
If the configuration file does not need to be changed after the upgrade, this step is not
gnew.zip
Info: Transfer file in binary mode.

TFTP: Downloading the file successfully.
5. system software in service, which is loaded when the S2700 is started.
<Qui
.cc
required.
<Quidway> tftp 10.164.30.29 get vrpcf
Downloading the file from the remote TFTP server. Please wait.../
2757 bytes received in 1 second.
Specify the
dway> startup system-software s2700-V100R006C00SPC800.cc

If the following information is displayed after you run the startup syste
Y to update the BootROM. If the BootROM is upgraded successfully, go
m-software file command, enter
to step 7; otherwise, go to step
6.
[N]: y
BOOTROM begin to be upgraded ! please wait for a moment
Info: BOOTROM UPGRADE OK
6. he S2700 is started.
uidway> system-view
otrom s2700-V100R006C00SPC800.cc
BOOTROM begin to upgraded ! please wait for a minute...
Info
Succ
Warning: Basic BOOTROM will be upgraded. Continue?(Y/N)

Succeeded in setting the software for booting system.
Upgrade the BootROM in service, which is loaded when t
<Q
[Quidway] upgrade basic-bo
Confirm basic BOOTROM will be upgrade?(Y/N)[N]: y


: BOOTROM UPGRADE OK
eeded in setting the software for booting system.

In the V100R005 and V100R006, the BootROM is upgraded automatically. To upgrade the software to
u 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
7. Res
other versions, yo
tart the S2700.

ified or the invalid software is specified, the device will fail to
ystem software for next startup, see step 5.
fter the setting is
ion, please wait.
d to the configuration file for the next
:y
Now saving the current configuration to the slot 0.
ve the configuration successfully.
System will reboot! Continue?[Y/N]: y
Info: system is rebooting, please wait
After the software is upgraded to V100R006C00SPC800, you must specify the system software for next
startup. If the system software is not spec
restart. For details about specifying the s
When the system asks you whether to save the configuration, enter y or n. A
complete, enter y to restart the system.
<Quidway> reboot
Info: The system is now comparing the configurat
Warning: All the configuration will be save
startup:flash:/vrpcfg.zip, Continue?[Y/N]
Info: Sa

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
16
----End
Method 2: Use the S2700 as the FTP Server

No FTP server software is installed on the S2700; therefore, the customer needs to buy FTP server
1. the S2700 as an FTP server.
0, and set the FTP user name to ftpuser and password to
ser service-type ftp
[Quidway-aaa] local-user ftpuser ftp-directory flash:
2.
d. This example assumes that ethernet/0/0/1 is used
ew
port link-type access
ernet 0/0/1
n10] quit
1.1 24
quit
3. Log
software and install it.
Configure
Start the FTP server on the S270
ftppwd.
<Quidway> system-view
[Quidway] ftp server enable
[Quidway] aaa
[Quidway-aaa] local-user ftpuser password simple ftppwd
[Quidway-aaa] local-user ftpu
[Quidway-aaa] return
Set an IP address for the S2700.
An idle service interface is recommende
and the IP address is 1.1.1.1/24.
<Quidway> system-vi
[Quidway]interface ethernet 0/0/1
[Quidway-Ethernet0/0/1]
[Quidway-Ethernet0/0/1]quit
[Quidway] vlan 10
[Quidway-vlan10] port eth
[Quidway-vla
[Quidway] interface vlanif 10
[Quidway-Vlanif10] ip address 1.1.
[Quidway-Vlanif10]
[Quidway]
in to the FTP server (the S2700).

Assume that the Windows XP operating system is used.
Store the file to be uploaded in the specified directory (for example, D:\>directory). Choose
cmd and press Enter. Enter FTP 1.1.1.1. Enter the user name at the user
at the password prompt, and then press Enter. The following
o 1.1.1.1.
.
.1.1.1:(none)): ftpuser
Start > Run. Enter
prompt and the password
information is displayed:
D:\>ftp 1.1.1.1
Connected t
220 FTP service ready
User (1
331 Password required for 1.
Password:

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
17
230 User logged in.
4. onfiguration file, and patch files.

ceived in 20.33Seconds 1350.65Kbytes/sec.
nsferred and you can find it

60Kbytes/sec.
n find it
226 Transfer complete.
ds 1333.74Kbytes/sec.
The preceding output indicates the configuration file has been transferred and you can find it
5. Upload the system software for the S2700.
0R006C00SPC800.CC.
226 Transfer complete.
6. (Optional) Upload the new configuration file to the S2700.
ot
required.
put vrpcfgnew.zip
7. Spe
<Quidway> startup system-software s2700-V100R006C00SPC800.cc
ftp>
Back up the system software, c
ftp> binary
200 Type set to I.
ftp> get s2700-v100r006c00.cc
200 Port command okay.
150 Opening BINARY mode data connection for s2700-v100r006c00.cc.
226 Transfer complete.
ftp: 6472284 bytes re
The preceding output indicates the configuration file has been tra
in D:\>.
ftp> get vrpcfg.zip
200 Port command okay.
150 Opening BINARY mode data connection for vrpcfg.zip
226 Transfer complete.
ftp: 589 bytes received in 0.01Seconds
The preceding output indicates the configuration file has been transferred and you ca
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.
ftp: 333436 bytes received in 0.25Secon
in D:\>.
Run the put source-filename [ destination-filename ] command on the FTP client (PC) to
m the PC. upload the system software fro
ftp> put D:\S2700-V100R006C00SPC800.cc
200 Port command okay.
150 Opening BINARY mode data connection for S2700-V10
ftp: 6502764 bytes in 47.10Seconds 140.76Kbytes/sec.
ftp>
If the configuration file does not need to be changed after the upgrade, this step is n
ftp>
cify the system software in service, which is loaded when the S2700 is started.

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
18

is displayed after you run the startup system-software file command, enter
ly, go to step 9; otherwise, go to step
raded ! please wait for a moment
g system.
8. the BootROM in service, which is loaded when the S2700 is started.
upgrade basic-bootrom s2700-V100R006C00SPC800.cc
Warn
Upgr

[Slo

If the following information
Y to update the BootROM. If the BootROM is upgraded successful
8.
Warning: Basic BOOTROM will be upgraded. Continue?(Y/N)[N]: y
BOOTROM begin to be upg

Info: BOOTROM UPGRADE OK
Succeeded in setting the software for bootin
(Optional) Upgrade
<Quidway> system-view
[Quidway]
ing: Basic BOOTROM will be upgraded. Continue?(Y/N)[N]: y
ading BOOTROM,please wait for a moment
t 0]:
Info: BOOTROM UPGRADE OK.

In the V
e
100R005 and V100R006, the BootROM is upgraded automatically. To upgrade the software to
9.
other v rsions, 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
Restart the S2700.

After the software is upgraded to V100R006C00SPC800, you must specify the system software for next
e device will fail to
guration, enter y or n. After the setting is
figuration, please wait.
All the configuration will be saved to the configuration file for the next
Now saving the current configuration to the slot 0.
Info: Save the configuration successfully.
y
it
Method 3: Use the S2700 as the FTP Client
startup. If the system software is not specified or the invalid software is specified, th
restart. For details about specifying the system software for next startup, see step 7.
When the system asks you whether to save the confi
complete, enter y to restart the system.
<Quidway> reboot
Info: The system is now comparing the con
Warning:
startup:flash:/vrpcfg.zip, Continue?[Y/N]:y
System will reboot! Continue?[Y/N]:
Info: system is rebooting, please wa
----End

No FTP client software is installed on the S2700; therefore, the customer needs to buy FTP client
software and install it.
1. Configure the PC as the FTP server.

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
19
Run an FTP server program on the PC, for example, wftpd32. Choose
Users/rights.
Security >

Click New User to set the user name and password. Here, the user name is S2700 and the
tory 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.
he S2700 are the same as the FTP commands in the DOS system.
server is 10.164.30.27, the FTP user name is S2700,
user is 123456.
Enter the user name and press Enter.
ease
: # Enter the password 123456 and press Enter. The password displayed
xt.
r and specify the name


password is 123456. Enter the FTP root directory in the Home Direc
Back up the system software, configuration file, and patch files.
The FTP commands on t
Assume that the IP address of the FTP
and the password of the FTP
<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)):S2700 #
331 Give me your password, pl
Enter password
on the screen is in cipher te
230 Logged in successfully
[ftp] binary
200 Type is Image (Binary)
Back up the system software s2700-v100r006c00.cc to the FTP serve
of the backup file as s2700-v100r006c00-bak.cc. If the name of the backup file is not
specified, the original name is used.
[ftp] put s2700-v100r006c00.cc s2700-v100r006c00-bak.cc
200 PORT command successful
150 Opening BINARY mode data connection for file transfer
226 Transfer complete.
FTP: 6472284 byte(s) sent in 41.176 second(s) 1296.55Kbyte(s)/sec.

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
20
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
[ftp] put vrpcfg.zip vrpcfg-bak.zip
FTP: 1387 byte(s) sent in 0.176 second(s) 22.04Kbyte(s)/sec.
cify the
.pat
200 PORT command okay
" file ready to receive in IMAGE / Binary
mode

FTP: 333436 byte(s) sent in 0.322 second(s) 1035.51Kbyte(s)/sec.
3.
file transfer
226 Transfer complete.
econd(s) 1117.40Kbyte(s)/sec.
You can specify the filename of the upgrade program. If the filename is not specified, the
4. onfiguration file.
s not need to be changed after the upgrade, this step is not
221 Windows FTP Server (WFTPD, by Texas Imperial Software) says goodbye
6. Spe
<Quidway> startup system-software s2700-V100R006C00SPC800.cc
name is used.
200 PORT command successful
150 Opening BINARY mode data connection for file transfer
226 Transfer complete.
Back up the patch file s27_37_57-v100r006sph005.pat to the FTP server and spe
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
150 "D:\ftp\ s27_37_57-v100r006sph005bak.pat
226 Transfer finished successfully.
Obtain the system software of the target version.
[ftp] get S2700- V100R006C00SPC800.cc
200 PORT command successful
150 Opening BINARY mode data connection for
FTP: 6502764 byte(s) received in 54.500 s
original name is used.
(Optional) Obtain the new c
If the configuration file doe
required.
[ftp] get vrpcfgnew.zip
5. Close the FTP connection.
[ftp] bye
cify the system software in service, which is loaded when the S2700 is started.

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
Warning: Basic BOOTROM will be upgraded. Continue?(Y/N)[N]: y

7.
BOOTROM begin to be upgraded ! please wait for a moment
Info: BOOTROM UPGRADE OK
Succeeded in setting the software for booting system.

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
21
7. h is loaded when the S2700 is started.

trom s2700-V100R006C00SPC800.cc
Warning: Basic BOOTROM will be upgraded. Continue?(Y/N)[N]: y
Upgrading BOOTROM,please wait for a moment

[Slo
Info
(Optional) Upgrade the BootROM in service, whic
<Quidway> system-view
[Quidway] upgrade basic-boo
t 0]:
: BOOTROM UPGRADE OK.

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
tep 6. In the case of a version rollback, you are advised to manually upgrade the
BootROM to prevent a rollback failure.
8. Res
In the V100R005
upgrade, see S
tart the S2700.
NOTE

After the software is upgraded to V100R006C00SPC800, 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
about specifying the system software for next startup, see step 6.
guration, please wait.
ved to the configuration file for the next
startup:flash:/vrpcfg.zip, Continue?[Y/N]:y
ng 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
4.2 Upgrad
Using the
If the BootROM method is used, the services will be interrupted for a long time; therefore,
you are advised to upgrade an operating device by using the command line. If the device
cannot enter the command line mode, upgrade the device by using the BootROM.
restart. For details
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 confi
Warning: All the configuration will be sa
Now savi
----End
ing the Switch to the V100R006C00SPC800
BootROM

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
22
Figure 4-1 Flowchart for upgrading the version to the V100R006C00SPC800 using the
BootROM
End
Start
Upgrade BootROM See 4.2.1
Upload system
software
See 4.2.2
Specify startup
software
See 4.2.3
Restart the switch See 4.2.4



The methods for upgrading the system software using the BootROM are similar on the S2700, S3700,
S5700 and the S6700. Here, the method for upgrading the system software on the S2700 is taken as an
example.
4.2.1 Upgrading the BootROM
Purpose To upgrade the BootROM
Services are interrupted during the upgrade and the device reboot. Impact
The upgrade takes about 100 seconds when the transmission rate of the
serial interface is 115200 bit/s.
Time
Required
After backing up the key data in the flash memory, you must run the
reboot command in the user view to restart the system.
Prerequisites


Do not restart or power off the S2700 when the information "Update BOOTROM system"
is being displayed during the upgrade of the BootROM. Otherwise, the S2700 runs
abnormally. In this case, contact Huawei technical personnel.
You can restart or power off the S2700 only when the message "done!" is displayed.

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
23
The BootROM menu varies according to the version. Here, the BootROM of
V100R006C00SPC800 is taken as an example.
1. Use a serial cable to connect the serial interfaces on the PC and the S2700 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
S2700. In this case, you can upgrade the S2700 using the BootROM.
6. Enter the BootROM menu.
Before entering the BootROM menu, you need to restart the S2700. During the restart of the
S2700, 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. Boot with default mode
2. Enter serial submenu
3. Enter startup submenu
4. Enter ethernet submenu
5. Enter filesystem submenu
6. Modify BOOTROM password
7. Reboot

Enter your choice(1-7):
7. Enter the BootROM submenu.
Select 2. Enter serial submenu. The following information is displayed:
SERIAL SUBMENU
1. Update BOOTROM system
2. Download file to Flash through serial interface
3. Modify serial interface parameter
4. Return to main menu
8. Modify the parameters of the serial interface.


Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
24

Changing the transmission rate of the serial interface causes interruption of the
communication between the PC and S2700. To restore the communication between the PC
and the S2700, you must set the transmission rate of the serial interface on the PC the same as
that of the serial interface on the S2700.
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 S2700 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 S2700, set the transmission
rate of the serial interface on the PC the same as that of the serial interface on the S2700. In
this manner, you can restore the communication between the PC and the S2700.
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 S2700:

On the HyperTerminal, choose Call > Disconnect. The connection is closed

Choose File > Properties. The Properties dialog box is displayed.

On the Connect To tab page, click Configure. The COM Properties dialog box is
displayed.

In the Bits per second drop-down list, select 115200.

In the COM Properties and Properties dialog boxes, click OK.

On the HyperTerminal, choose Call > Call. Press Enter. The connection is
reestablished.
9. Upgrade the BootROM.


Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
25

The BootROMs for products of various series are incompatible with each other. For example,
the BootROM of the S2700 cannot be used to upgrade the BootROM of the S3700; the
BootROM of the S3700 cannot be used to upgrade the BootROM of the S2700.
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 bootrom128.bin file for upgrading the BootROM.


Ensure that the selected BootROM file corresponds to the product.
Select XMODEM from the Protocol drop-down list box. Click Send to start sending the file.
After the upgrade file is transferred, the following information is displayed:
XMODEM downloading ...CC download to SDRAM successfully
Warning: Don't Power-off or Reset the Device!!!
Update bootrom system ... done !
Then, the S2700 automatically upgrades the BootROM by using the upgrade file. After the
upgrade, the S2700 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

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
26
4.2.2 Uploading the System Software
Uploading the System Software Through the Serial Interface
Purpose To upgrade the system software
Services are interrupted during the system software uploading and the
device reboot.
Impact
The software uploading time depends on many factors, such as the
system software size, transmission rate on the serial interface, and
operator's skill. When the transmission rate of the serial interface is
115200 bit/s, the uploading time is about 30 minutes.
Time Required
Prerequisites

The matched BootROM is upgraded.

The flash memory has enough space to store the system software.

1. Enter the BootROM menu.
When the S2700 is starting, 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. Then the advanced BootROM menu is displayed. The following
information is displayed:
BOOTROM MENU

1. Boot with default mode
2. Enter serial submenu
3. Enter startup submenu
4. Enter ethernet submenu
5. Enter filesystem submenu
6. Modify BOOTROM password
7. Reboot

Enter your choice(1-7):
2. Select 2. Enter serial submenu. The following information is displayed:
SERIAL SUBMENU
1. Update BOOTROM system
2. Download file to Flash through serial interface
3. Modify serial interface parameter
4. Return to main menu

Enter your choice(1-4):

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
27
3. Modify the parameters of the serial interface.


Changing the transmission rate of the serial interface causes interruption of the
communication between the PC and S2700. To restore the communication between the PC
and the S2700, you must set the transmission rate of the serial interface on the PC the same as
that of the serial interface on the S2700.
Select 3. Modify serial interface boot parameter. The following information is displayed:
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 S2700 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 S2700, set the transmission rate of the serial interface on the PC the same as
that of the serial interface on the S2700. In this manner, you can restore the communication
between the PC and the S2700.
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 S2700:

On the HyperTerminal, choose Call > Disconnect. The connection is closed

Choose File > Properties. The Properties dialog box is displayed.

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.

In the COM Properties and Properties dialog boxes, click OK.

On the HyperTerminal, choose Call > Call. The connection is reestablished.
4. Upgrade the system software.
Select 2. Download file to Flash through serial interface in the serial interface submenu,
and the following information is displayed:

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
28
Enter your choice(1-4): 2

Please Select File.
XMODEM downloading ...CC
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 S2700.
If you need to name the upgrade file S2700-V100R006C00SPC800.CC, the following
information is displayed:
XMODEM downloading ...CC download successfully!
Do you like to save it named " S2700-V100R006C00SPC800.CC"?
If you like then press return key, otherwise give a new name for saving it:
S2700-V100R006C00SPC800.CC
If the file S2700-V100R006C00SPC800.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:/S2700-V100R006C00SPC800.CC already exist,
delete it?(Y/N):y
Deleting file.......................................done
took time : 251s
Writing
Flash.............................................................................
..................................................................................
..............done

file length: 6502764 bytes, took time : 144s

SERIAL SUBMENU

1. Update BOOTROM system
2. Download file to Flash through serial interface
3. Modify serial interface parameter
4. Return to main menu

Enter your choice(1-4):
After the upgrade file is transferred, select 4. Return to main menu to return to the
BootROM menu.
----End

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
29
Uploading the System Software Through the Network Port
Purpose To upload the system software
Services are interrupted during the system software uploading and the
device reboot.
Impact
If the system software is uploaded through the FTP or TFTP protocol,
the system software uploading time is about one minute.
Time
Required
Prerequisites

The matched BootROM is upgraded.

The flash memory has enough space to store the system software.

The FTP service is enabled on the PC.

Pay attention to the following points:

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.
1. Enter the BootROM menu.
Before entering the BootROM menu, you need to restart the S2700. During the restart of the
S2700, 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. Then the advanced BootROM menu is displayed. The following
information is displayed:
BOOTROM MENU

1. Boot with default mode
2. Enter serial submenu
3. Enter startup submenu
4. Enter ethernet submenu
5. Enter filesystem submenu
6. Modify BOOTROM password
7. Reboot

Enter your choice(1-7):
2. Select 4. Enter serial submenu. The following information is displayed:
ETHERNET SUBMENU

1. Download file to SDRAM through ethernet interface and boot
2. Download file to Flash through ethernet interface
3. Modify ethernet interface boot parameter
4. Return to main menu

Enter your choice(1-4):

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
30
3. Modify the parameters of the network interface.
Select 3. Modify ethernet interface boot parameter. The following information is
displayed:
BOOTLINE SUBMENU

1. Set TFTP protocol parameters
2. Set FTP protocol parameters
3. Return to ethernet menu
Select TFTP or FTP as required.
For example, the following information is displayed if you select 2. Set FTP protocol
parameters. The displayed information cannot be cleared. New settings will overwrite the
old settings.

If the TFTP protocol is used, you do not need to enter the user name and password.
'.' = clear field; '-' = go to previous field; ^D = quit
Load File name : S2700-V100R006C00SPC800.CC
Switch IP address : 192.168.1.15:FFFFFF00
Server IP address : 192.168.1.40
FTP User Name : cx
FTP User Password : cx
The fields are described as follows:

Load File name: file name of the startup file to be loaded

Switch IP address: device IP address (the mask is optional)

Server IP address: server IP address

FTP User Name: FTP user name

FTP User Password: FTP password
4. Download the system software.
After network interface parameters are modified, select 3. Return to ethernet menu to return
to the Ethernet submenu. Connect the data line to port 1 on the S2700 panel (or connect the
data line to the MEth interface of the S5700), and then select 2. Download file to Flash
through ethernet interface to load the file. The following information is displayed:
'.' = clear field; '-' = go to previous field; ^D = quit

boot device : et
unit number : 0
processor number : 0
host name : host
file name : S2700-V100R006C00SPC800.CC
inet on ethernet (e) : 192.168.1.15:FFFFFF00
host inet (h) : 192.168.1.40
user (u) : cx
ftp password (pw) : cx
flags (f) : 0x0

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
31

Attached TCP/IP interface to mottsec0.
Attaching network interface lo0... done.
Loading...
Read file to sdram .......Done
Writing
Flash.............................................................................
..................done
File length: 6502764 bytes
Took time : 33s
After the upgrade file is transferred, select 4. Return to main menu to return to the
BootROM menu.
----End
4.2.3 Specifying the System Software to Be Loaded for Starting
the Switch
Purpose To specify the system software for next startup
Services are interrupted when you are specifying the system software and
the device is restarting.
Impact
The system software to be specified has been downloaded to the flash
memory.
Prerequisite

1. Specify the system software to be loaded for starting the switch.
After returning to the BootROM menu, select 3. Enter startup submenu to enter the startup
submenu. The following information is displayed:
Startup Configuration Submenu

1. Display startup configuration
2. Modify startup configuration
3. Return to main menu

Enter your choice(1-3):
2. Select 2. Modify startup configuration to set the startup mode of the S2700, 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

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
32
Flash startup file (cannot be cleared)
current:
new : S2700-V100R006C00SPC800.CC
saved-configuration file
current: vrpcfg.zip
new :
license file
current:
new :
patch package
current:
new :
Table 4-1 describes the displayed information.
Table 4-1 Description of the displayed information
Field Description
startup type Startup mode:

1: loads the system software from the flash memory.

2: loads the system software from the server.
Flash startup file System software loaded during the startup. If the system
software is loaded from the server, you do not need to set the
field.
saved-configuration file Configuration file loaded during startup.
patch package Patch file loaded during startup.
current File that is currently loaded.
new File to be loaded during the next startup.

Startup Configuration Submenu

1. Display startup configuration
2. Modify startup configuration
3. Return to main menu

Enter your choice(1-3):
3. After entering the startup information, select 3. Return to main menu to return to the
BootROM menu.

BOOTROM MENU

1. Boot with default mode
2. Enter serial submenu
3. Enter startup submenu
4. Enter ethernet submenu
5. Enter filesystem submenu

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
33
6. Modify BOOTROM password
7. Reboot
Enter your choice(1-7):
----End
4.2.4 Restarting the Switch
The switch is automatically upgraded by loading the latest system software during startup.
Enter 7. Reboot on the advanced BootROM menu to restart the switch. Then, the S2700
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
S2700.
4.3 Upgrading the S5700-SI to V100R006C00SPC800 Using
the USB Flash Drive
4.3.1 Overview
If you do not have a PC in the on-site deployment, use the USB flash drive in which the
system software and configuration file are stored. The software commissioning engineer is not
required.

Only the S5700-SI and S6700 can be upgraded using the USB flash drive. Stacks do not support this
upgrade method.
The general process of the upgrade in the USB way is as follows:
a. Copy files.
When the S5700-SI is started successfully (the SYS indicator is in green and blinks at
0.5 Hz), the USB flash drive can be inserted to load files. The S5700-SI automatically
downloads the system software and configuration file according to the index file in the
USB flash drive.
b. Restart the switch.
The S5700-SI sets the system software and configuration file for next startup, and then
restarts automatically.
c. Verify the loading of files.
After restarting successfully (the SYS indicator is in green and blinks at 0.5 Hz), the
S5700-SI begins to verify the loaded files. When the SYS indicator is in orange and
blinks at 0.5 Hz, the upgrade is finished.

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
34
4.3.2 Upgrading the Software Using the USB Flash Drive
Preparations for Upgrade
1. Prepare the hardware.

USB port: The S5700-SI provide USB 1.1; the S6700 provide USB 2.0.

USB flash drive:
The USB flash drive delivered with Huawei switch is recommended because this USB
flash drive is compatible with the switch. The USB flash drive must be paid
independently. If you have not bought the USB flash drive, contact local Huawei office.
The USB flash drive must use the FAT32 format; otherwise, set the format to FAT32
before using it.
The space in the USB flash drive must be sufficient for the system software and
configuration file.
2. Prepare system software, configuration file, web file, and patch file.
3. Create the index file.
a. Create the file usbload_config.txt.
b. Fill in the file.
If you need to upgrade the system software, configuration file or patch file of V100R006, the
index file is in any of the following formats:
<sn=201105091219;/>
<mac=; vrpfile=; vrpver=; cfgfile=; webfile=; patchfile=;/>
<esn=; vrpfile=; vrpver=; cfgfile=; webfile=; patchfile=;/>
<boardtype=; vrpfile=; vrpver=; cfgfile=; webfile=; patchfile=;/>

The first line in the index file must be the SN to prevent repeated copy. The SN consists of creation
date + time, for example, <sn=201105091219;/>. Before copying a file, the device compares the SNs.
If the SN of a file to be copied already exists, the device does not copy the file. After the file is
copied, the device stores the SN. The index files without SNs are considered invalid, and the device
will stop copying the files.
If an index file contains the following three formats, the device uses the information in format (2). If
the required information is not obtained, the device uses the information in format (3) and then
format (1). When only one USB flash drive is used in the upgrade, the values of mac=, esn=, and
boardtype= are default. When the device obtains the value default, the device starts to copy the file
without comparing it with other files.
When editing an index file, press Enter when a line is finished. After editing the file, save it.
Select the upgrade files, including system software, configuration file, Web file, and patch file as
required.
The upgrade procedures for S5700-SI, and S6700 are the same.
(1) To upgrade the same system software, configuration file, Web file, and patch file on
multiple devices, fill in the file in the format <boardtype=; vrpfile=; vrpver=; cfgfile=;
webfile=; patchfile=;/>.

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
35
To obtain the value of boardtype, view device labels or run the display version
command. boardtype=default indicates that all devices will be upgraded.
Fill in the system software name behind vrpfile=.
Fill in the version number behind vrpfile=.
Fill in the configuration file name behind cfgfile=.
Fill in the web file name behind webfile=.
Fill in the patch file name behind patchfile=.
The following are the index files of different devices:
<boardtype=S5728C-SI; vrpfile=S5700SI-V100R006C00SPC800.CC;
vrpver=V100R006C00SPC800; cfgfile=; webfile=; patchfile=;/>
<boardtype=S6748-EI; vrpfile=S6700-V100R006C00SPC800.CC; vrpver=V100R006C00SPC800;
cfgfile=; webfile=; patchfile=;/>
The following two formats are used for upgrading a single device:
(2) <mac=; vrpfile=; vrpver=; cfgfile=; webfile=; patchfile=;/>
View the device's MAC address on the chassis and fill in the MAC address behind
mac= in the format XXXX-XXXX-XXXX.
Fill in the system software name behind vrpfile=.
Fill in the version number behind vrpfile=.
Fill in the configuration file name behind cfgfile=.
Fill in the web file name behind webfile=.
Fill in the patch file name behind patchfile=.
The following is an example of configuration file:
<mac=0018-8200-0001; vrpfile=; vrpver=; cfgfile=vrpcfg.cfg; webfile=; patchfile=;/>
The following is an example of patch file:
<mac=0018-8200-0002; vrpfile=; vrpver=; cfgfile=; webfile=; patchfile=patch.pat;/>
(3) <esn=; vrpfile=; vrpver=; cfgfile=; webfile=; patchfile=;/>
View the device's ESN and fill in the ESN behind esn=.
Fill in the system software name behind vrpfile=.
Fill in the version number behind vrpfile=.
Fill in the configuration file name behind cfgfile=.
Fill in the web file name behind webfile=.
Fill in the patch file name behind patchfile=.
The following is an example of patch file:
<esn=020TEA10A9000016; vrpfile=; vrpver=; cfgfile=; webfile=; patchfile=patch.pat;/>

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
36
The following is an example of system software:
<esn=020TEA10A9000017; vrpfile=S5700SI-V100R006C00SPC800.CC;
vrpver=V100R006C00SPC800; cfgfile=vrpcfg.cfg; webfile=; patchfile=;/>

If a keyword is not found or matched, the value of this item is considered to be empty.
If the version number behind vrpver= is the same as the current version, the device will not
restart.
4. Copy the index file, system software, configuration file, Web file, and patch file to the root
directory of the USB flash drive.

The index files must be stored to the root directory on the USB flash drive; the other files are stored in
the corresponding directories.


Do not power off the switch during file copy; otherwise, the upgrade fails or the switch
cannot start.
Do not remove the USB flash drive before the upgrade is finished; otherwise, the USB
flash drive may be damaged.
Procedure
1. Power on the S5700-SI, and wait until the system completes the startup (you are advertised to
wait for two minutes).
2. Confirm that the system is operating stably (the SYS indicator is in green and blinks every
two seconds). If the system operating is unstable, wait or solve the issue.

If the SYS indicator is on and in green or orange, the system startup is not finished. Wait
until the system starts successfully.

If the SYS indicator is on and in red, the system is started but an error occurs. Fix the
problem before the next step. Check whether the power supply and the fan function
properly. If no, power off the S5700-SI, and then restart the S5700-SI. If the fault persists
(the indicator is on and in red), contact Huawei technical support personnel.
3. Insert the USB flash drive.

If the SYS indicator is in green and blinks more than twice every second, the system is
copying the system software and configuration file from the USB flash drive.

After copying the files, the system restarts.

If the SYS indicator is in orange and blinks every two seconds after the restart, the
upgrade is successful. Now you can remove the USB flash drive.

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
37
If the SYS indicator is on or blinks in red, or blinks and is in read, an error occurs. Power off
the S5700-SI and power on it, and then insert the USB flash drive again. If the upgrade fails
three times, check whether the index file on the USB flash drive is correct, or contact the
Huawei technical support personnel.
NOTE

When using the USB flash drive for upgrade, change the SN in the USB flash drive.

----End

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 5 Upgrade Operations on a Stack

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
38
5 Upgrade Operations on a Stack
5.1 Upgrading All Stack Member Switches to
V100R006C00SPC800 by Using the Command Line
To upgrade the system software Purpose
Services are interrupted when the devices restart. Impact
When a single device is upgraded and service deployment is simple,
stack is upgraded, the services are interrupted about 3 minutes. When a
Time
Required
service interruption time increases, and the time depends on the
complexity of services and the stack.
Prerequisites

The devices to be upgraded function properly.

The flash memory has enough space to store the system software.


Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 5 Upgrade Operations on a Stack

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
39

The methods of for upgrading the system software of the S3700, S5700 and the S6700 using the
command line interface are similar. Here, the S3700 is used as an example.
the system software by using the S3700 as the FTP
server. For other methods of loading the system software, see the Quidway S3700/S5700/S6700
ns.
retain the roles of the master and slave devices after the upgrade, set priority of the master switch
The section describes only how to download
Series Ethernet Switches Configuration Guide - Basic Configuratio
The S5700/S6700 provides a management interface MEth. You can use this interface as a Layer 3
interface.
To
to be the highest in the stack before the upgrade.


When an S3700 is upgraded to V100R006C00SPC800, 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
1.
te /unreserved flash:/S3752-V100R006C00.cc
tware. If you delete it, there is no software to
e the file? [Y/N]:y
Warning: The contents of file flash:/S3752-V100R006C00.cc cannot be recycled. Continue?
eting file flash:/S3752-V100R006C00.cc...
Deleting file permanently from flash will take a long time if
...........................................................
.....................................................
.......................................succeeded.
0R006C00.cc
e it, there is no software to
nfirm to delete the file? [Y/N]:y
flash:/S3752-V100R006C00.cc cannot be recycled.
2. as the FTP server.
and set the FTP user name to ftpuser and password to
tp server enable
member switches.
Delete the current startup software package.
<Quidway> dele
Info:This is Next startup system sof
reboot successfully!Confirm to delet
[Y/N]:y
Info: Del
needed.................
.............................
...............

<Quidway> delete /unreserved slot1#flash:/S3752-V10
Info:This is Next startup system software. If you delet
reboot successfully!Co
Warning: The contents of file slot1#
Continue? [Y/N]:y
Info: Deleting file slot1#flash:/S3752-V100R006C00.cc...
Deleting file permanently from flash will take a long time if
needed............................................................................
..................................................................................
..................................................................................
..succeeded.
Configure the switch
Start the FTP service on the switch,
ftppwd.
<Quidway> system-view
[Quidway] f

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 5 Upgrade Operations on a Stack

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
40
[Quidway] aaa
[Quidway-aaa] local-user ftpuser password simple ftppwd
local-user ftpuser service-type ftp
[Qui flash:
[Quidway-aaa] return
3.
n an idle interface. Here, ethernet 0/0/1 is used as an example.
view
rnet 0/0/1
an10] port ethernet 0/0/1

y] interface vlanif 10
[Quidway]
4.
[Quidway-aaa]
dway-aaa] local-user ftpuser ftp-directory
Configure an IP address for the switch.
Configure the IP address o
<Quidway> system-
[Quidway]interface Ethe
[Quidway-Ethernet0/0/1]port link-type access
[Quidway-Ethernet0/0/1]quit
[Quidway] vlan 10
[Quidway-vl
[Quidway-vlan10] quit
[Quidwa
[Quidway-Vlanif10] ip address 1.1.1.1 24
[Quidway-Vlanif10] quit
Log in to the FTP server (the switch).

Assume that the Windows XP operating system is used.
. Choose
d press Enter. Enter FTP 1.1.1.1. Enter the user name at the user
nter. The following
n is displayed:
\>ftp 1.1.1.1
ted to 1.1.1.1.
220 FTP service ready.
331 Password required for 1.
230 User logged in.
ftp>
5. Uploa the switch.
the FTP client to upload
m software is uploaded to the switch, run the bye command to
2-V100R006C00SPC800.CC
-V100R006C00SPC800.CC.
s sent in 60.40Seconds 140.76Kbytes/sec.
ftp> bye
221 Server closing.

D:\>
Store the file to be uploaded in the specified directory (for example, D:\>directory)
Start > Run. Enter cmd an
prompt and the password at the password prompt, and then press E
informatio
D:
Connec
User (1.1.1.2:(none)): ftpuser
Password:

d the system software to
Run the put source-filename [ destination-filename ] command on
the system software. After syste
close the FTP connection and return to the user view.
ftp> put D:\S375
200 Port command okay.
150 Opening BINARY mode data connection for S3752
226 Transfer complete.
ftp: 8742812 byte

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 5 Upgrade Operations on a Stack

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
41
6. Specify th uploaded software as the next startup software.
<Qui
e
dway> startup system-software S3752-V100R006C00SPC800.CC all

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
e upgraded ! please wait for a moment
ooting system on 0.
C800.cc to
booting system on 1.
7.
BOOTROM begin to b

Info: BOOTROM UPGRADE OK
Info: Succeeded in setting the software for b
100% complete\
Info: Copied file flash:/S3752-V100R006C00SP
slot1#flash:/S3752-V100R006C00SPC800.cc...Done.
Info: Succeeded in setting the software for
Restart the switch.

After the software is upgraded to V100R006C00SPC800, 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 5.
When the system asks you whether to save the configuration, enter y or n. After the setting is
Info: The system is now comparing the configuration, please wait.
g: All the configuration will be saved to the configuration file for the next
p:flash:/vrpcfg.zip, Continue?[Y/N]:y
Now saving the current configuration to the slot 0.
Info: Save the configuration successfully.
----E
5.2 Using the Intelligent Upgrade Function
5.2.1 Overview
el rades or rolls back the system software
of a new itch.
complete, enter y to restart the system.
<Quidway> reboot
Warnin
startu
Info: Save the configuration successfully.
Now saving the current configuration to the slot 1.
System will reboot! Continue?[Y/N]: y

Info: system is rebooting, please wait
nd

Int ligent upgrade is a function that automatically upg
member switch to the version of the master sw
A stack system is established only when all the following requirements are met:

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 5 Upgrade Operations on a Stack

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
42

All the member switches use the same software version. If the master switch detec
different software version on the new member switch, it upgrades or rolls back the
software of
ts a

the new member switch to the version of the stack.

ports a maximum of eight switches in a stack system. The other S3700 models and the
up to nine switches in a stack system.

s


ing function is enabled on all the member switches.
he stack processes version upgrade and rollback for new member switches in the same way.
5.2.2 Upgrading a N ber Switch Using the Intelligent
Upgrade Function
Preparations for
Be


nnected to other member switches by using stack cables

bled by
The S3752 sup
S5700 support
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 SI serie
cannot form a stack.

All the member switches are connected by using stack cables and stack modules.
All the member switches are working properly.
The stack
T
ew Mem
Upgrade
fore upgrading a new member switch of a stack, ensure that:
The new member switch and the current stack members belong to the same series.
The new member switch is co
and stack modules.
The stacking function is enabled on the new member switch. (This function is ena
default.)

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 5 Upgrade Operations on a Stack

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
43


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
tch 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
switch restarts repeatedly. In
this case, upgrade the software of the switch to the version of the stack system manually,
re, see chapter 4 Upgrade
itch.
During the upgrade, ensure that the stack cables are functioning properly. If the upgrade of
the space. If the swi
flash memory is still insufficient for the upgrade software, the
and then add the switch to the stack. For the upgrade procedu
Operations on a Single Sw
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
On the master switch:
In Stack, device 0 load to new device 1 .......... start

In Stack, device 0 load to new device 1 .......... success
On the new member switch:
The Software Version is Low.Version is V100R006C00!
100% completed
In Stack, device 0 load flash:/S5700EI-V100R006C00SPC800.CC to new device 1(self) ...
Success
Starting upgrade BOOTROM .............. Pass

Device starting reset.

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
On the new member switch:
In Stack, upgrading from slot 4 to slot 0(self) .......... start
Info: Free space is not enough. Auto deleting <flash:/S3728-V100R006C00.cc> file ....
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:

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 5 Upgrade Operations on a Stack

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
44
................................................................................
........................... success

100% completed
In Stack, device 4 load to new device 0 (self) ... Success
Upgrading BOOTROM .............. Pass
Manually upgrade the system softw
then add the switch to the stack syst
V100R006C00SPC800 Using the Co
V100R006C00SPC800 Using the BootROM.
are of the switch to the version of the stack system, and
em. For details, see sections 4.1 Upgrading the Switch to
mmand Line or 4.2 Upgrading the Switch to the

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 6 Verifying the Upgrade

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
45
6 Verifying the Upgrade
6.1 Verification Checklist
Table 6-1 Verification checklist
No. Item Criteria Result
1 Check the current system The system software version
software version is V100R006C00SPC800.
2 Check the device running The device runs properly.
status
3 Check the system The system configuration is
configuration correct.

6.2 Checking the Current System Software Version
nning on the
s
4M bytes DDR Memory
Pcb Version : VER C
Basic BOOTROM Version : 124 Compiled at Apr 20 2011, 10:04:52
Run the display version command to view the version of the system software ru
S2700.
<Quidway> display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.70 (S2700 V100R006C00SPC800)
Copyright (C) 2003-2011 HUAWEI TECH CO., LTD
Quidway S2718TP-SI Routing Switch uptime is 0 week, 0 day, 0 hour, 4 minute

EDFE 0(Master) : uptime is 0 week, 0 day, 0 hour, 4 minutes
6
16M bytes FLASH

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 6 Verifying the Upgrade

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
46
Software Version : VRP (R) Software, Version 5.70 (S2700 V100R006C00SPC800)
6.3 Checking the Device Running Status
Run the display device command to check the s
the device functions properly.
<Quidway> display device
S2718TP-SI's Device status:
Slot Sub Type Online Power Register Status Role
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0 - 2718F Present PowerOn Registered Normal Master
6.4 Checking the System Configuration
Use the display current-configuration command to check the system configuration. Check
V100R006C00SPC800 (V100R006C00SPC800 is
n number depends on the released version) and
e following configuration is taken as an example).
d after the upgrade. For the command line changes, see
the release notes of the matching version.




















authorization-scheme default
ccounting-scheme default
omain default
domain default_admin
local-user admin password simple admin
local-user admin service-type http
#
witch running status. Normal indicates that
whether the system software version is
taken as an example and the actual versio
whether the configuration is restored (th
The configuration file may be modifie
<Quidway>display current-configuration
#
!Software Version V100R006C00SPC800
sysname Quidway
#
vlan batch 1
#
cluster enable
ntdp enable
ntdp hop 16
ndp enable
#
dhcp enable
#
undo http server enable
#
drop illegal-mac alarm
#
aaa
authentication-scheme default

a
d

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 6 Verifying the Upgrade

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
47


Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 7 Version Rollback

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
48
7 Version Rollback
7.1 S2700 Version Rollback
If an error occurs after the upgrade, perfor
operating.
Rollback Flowchart
m version rollback to restore normal service
7.1.1 Version
Figure 7-1 Version rollback flowchart
End
Start
Load previous
softwar
See 7.1.2
e package
Perform version rollback See 7.1.3
Verify version rollback See 7.1.4



Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 7 Version Rollback

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
49

1. 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
elete files stored in the flash memory before the device
is rolled back from V100R006SPC500 to V100R006, some space in the flash memory may be
d
cfg format, save it in the cfg format.
2. If you run the delete command to d
unavailable. Run the dir command to view the unknown space and run the fixdisk comman
to reclaim the space.
7.1.2 Loading the Previous System Software
vious system software package is the same as the procedure
For details, see chapter 4 Upgrade Operations
7.1.3 Perform
as the version upgrade method. For details, see
Switch.
7.1.4 Verifyi
same as the verification of version upgrade. For
e.
The procedure for loading the pre
for loading the system software for the upgrade.
on a Single Switch.
ing Version Rollback
The version rollback method is the same
chapter 4 Upgrade Operations on a Single
ng Version Rollback
The verification of version rollback is the
details, see chapter 6 Verifying the Upgrad

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 7 Version Rollback

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
50
7.2 S3700 Version Rollback
7.2.1 Version Rollback Flowchart
Figure 7-2 Version rollback flowchart
Start
Load previous
software package
See 7.2.2
Perform version rollback See 7.2.3
Verify version rollback See 7.2.4
End



1. When the S3728 V100R006C00SPC800 is rolled back to the S3728 V100R006C00, the
2. 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.
3. If you run the delete command to delete files stored in the flash memory before the device
is rolled back from V100R006SPC500 to V100R006, some space in the flash memory may be
unavailable. Run the dir command to view the unknown space and run the fixdisk command
output information may be different from the normal output information displayed during
upgrade.
to reclaim the space.
7.2.2 Loading the Previous System Software
The procedure for loading the previous system software package is the same as the procedure
for loading the system software for the upgrade. For details, see chapters 4 Upgrade
Operations on a Single Switch or 5 Upgrade Operations on a Stack.

Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 7 Version Rollback

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
51

7.2.3 Performing Version Rollback
The version rollback method is the same as the version upgrade method. For details, see
chapters X4 XXUpgrade Operations on a Single SwitchX or X5 XXUpgrade Operations on a StackX.
7.2.4 Verifying Version Rollback
The verification of version rollback is the same as the verification of version upgrade. For
details, see chapter X6 XXVerifying the UpgradeX.
7.3 S5700 Version Rollback
7.3.1 Version Rollback Flowchart
Figure 7-3 Version rollback flowchart
End
Start
Load previous
software package
See 7.3.2
Perform version rollback See 7.3.3
Verify version rollback See 7.3.4


Quidway S2700/S3700/S5700/S6700 Series Ethernet Switches
Upgrade Guide 7 Version Rollback

Issue 01 (2011-09-30) Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd
52


When the S5700 V100R006C00SPC800 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.
BootROM cannot be used for version rollback on the S5700SI, and the S5700SI cannot be
powered off during a version rollback.
If you run the delete command to delete files stored in the flash memory before the device
is rolled back from V100R006SPC500 to V100R006, some space in the flash memory
may be unavailable. Run the dir command to view the unknown space and run the fixdisk
command to reclaim the space.
7.3.2 Loading the Previous System Software
The procedure for loading the previous system software package is the same as the procedure
for loading the system software for the upgrade. For details, see chapters X4 XXUpgrade
Operations on a Single SwitchX or X5 XXUpgrade Operations on a StackX.
7.3.3 Performing Version Rollback
The version rollback method is the same as the version upgrade method. For details, see
chapters X4 XXUpgrade Operations on a Single SwitchX or X5 XXUpgrade Operations on a StackX.
7.3.4 Verifying Version Rollback
The verification of version rollback is the same as the verification of version upgrade. For
details, see chapter X6 XXVerifying the UpgradeX.