Sei sulla pagina 1di 32

For Internal Use Only▲

ZXR10 5900&5200 Series Switch


V2.8.02A Version Upgrade Guide

ZTE Data Customer Service Department

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

Modification Record
Draft by/ Draft/modi
Version Reviewe Reason for
Document No. modified fication Main modified points
No. d by modifications
by date
Zhu Tao
None V1.0 2009-4-30
Changfei Minjuan

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

Contents

1 VERSION INFORMATION........................................................................................................1

2 UPGRADE FLOW....................................................................................................................2

3 PREPARATION BEFORE UPGRADE.........................................................................................4

3.1 Preparation Record before Upgrade......................................................................................................4


3.2 Read Documents of Version..................................................................................................................4
3.3 Prepare Software and Hardware............................................................................................................5
3.4 Set up Upgrade Environment.................................................................................................................5
3.5 Backup Data...........................................................................................................................................6
3.5.1 Backup Configuration Information................................................................................................6
3.5.2 Backup Version File........................................................................................................................7
3.6 Check Running Status............................................................................................................................7
3.6.1 Check Running Status of Hardware...............................................................................................7
3.6.2 Check Running Status of System...................................................................................................8
3.6.3 Check Services................................................................................................................................8
3.6.4 Check FLASH Remaining Space...................................................................................................9

4 BOOTROM UPGRADE...........................................................................................................10

4.1 Notification Items................................................................................................................................10


4.2 Upgrade Flow.......................................................................................................................................10
4.3 Record of Upgrade Process..................................................................................................................11
4.4 Upgrade Steps......................................................................................................................................11
4.4.1 Delete Leftover Boot Files............................................................................................................11
4.4.2 Copy Boot Files............................................................................................................................11
4.4.3 Update Bootrom............................................................................................................................12
4.4.4 Verify Upgrade..............................................................................................................................12
4.5 Upgrade Failure Emergency Response................................................................................................12
4.6 Bootrom Programming Guide.............................................................................................................13

5 SOFTWARE VERSION UPGRADE..........................................................................................14

5.1 Notification Items................................................................................................................................14


5.2 Upgrade Flow.......................................................................................................................................14

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

5.3 Record of Upgrade Process.................................................................................................................15


5.4 Upgrade Steps......................................................................................................................................16
5.4.1 Rename Old Version File..............................................................................................................16
5.4.2 Download Target Version File......................................................................................................16
5.4.3 Check Boot Mode.........................................................................................................................16
5.4.4 Reboot Switch...............................................................................................................................17
5.4.5 Check Boot Status of Device........................................................................................................17
5.4.6 Check New Version Information..................................................................................................17
5.4.7 Check Configuration Information................................................................................................18
5.4.8 Verify Upgrade..............................................................................................................................18

6 VERSION ROLLBACK...........................................................................................................20

6.1 Application of Rollback.......................................................................................................................20


6.2 Fail to Boot Device..............................................................................................................................20
6.3 Service Be Abnormal...........................................................................................................................22

7 FREQUENTLY ASKED QUESTIONS.......................................................................................23

8 APPENDIX A: SETTING AND USING OF TOOL SOFTWARE.................................................24

8.1 Terminal Software................................................................................................................................24


8.1.1 HyperTerminal..............................................................................................................................24
8.1.2 SecureCRT....................................................................................................................................24
8.2 FTP Tool...............................................................................................................................................25
8.2.1 3CDaemon....................................................................................................................................26
8.2.2 WFTPD.........................................................................................................................................26
8.3 Araxis merge........................................................................................................................................27

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

1 VERSION INFORMATION
 Notes:
This document is applicable to engineers who pass ZTE Data Products Certificate Test-Level I
or above, are familiar with data products and have experience in data product upgrading.

ZXR10 5900&5200 Series switch includes two product series, each with multiple product
models, as shown in Table 1.1.

Table 1.1 Product Model

Product Series Product Model


5900 Series ZXR10 5928 / 5928-FI / 5952
5200 Series ZXR10 5228 / 5228-FI / 5252
3226 Series ZXR10 5224 / 3226 / 3226-FI

Currently, the main version available for ZXR10 5900&5200 Series switch is V2.8.02.A.

Notes:

Upon upgrading version on site, please check the Version Release Note for whether it is
necessary to upgrade Bootrom or not.

There are multiple files in ZXR10 5900&5200 Series switch software version compressed
package; refer to Table 1.2 for file list.

Table 1.2 Version File List

File Name (Including File Type Applicable Product Series/Product Model/Board


path)
\mp8270 Version & boot file ZXR10 5928 / 5928-FI / 5952
\mp8270_5200 Version & boot file ZXR10 5228 / 5228-FI / 5252
\mp434 Version & boot file ZXR10 5224 / 3226 / 3226-FI

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 1


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

2 UPGRADE FLOW
Fig 2.1 depicts the upgrade flow of ZXR10 5900&5200 Series switch.

Fig 2.1 Version Upgrade Flow

Start the
upgrade

Make preparation
before upgrade

Does bootrom
need to be Y Upgrade Bootrom
upgraded?
N

Upgrade the
software version

Does the
Roll back the
upgrade N
version
succeed?
Y

The upgrade is
completed

1. Preparation before Upgrade

It is required that a series of preparation work should be done before upgrade. For detailed
information, see 3 Preparation before Upgrade.

2. Bootrom Upgrade

In the preparation phase before upgrade, it should confirm whether Bootrom upgrade is needed
in the upgrade to be implemented; if so, refer to 4 Bootrom Upgrade to perform upgrade.

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 2


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

This process lasts about 5-10 minutes.

3. Software Version Upgrade

Refer 5 Software Version Upgrade for upgrading the software version. If the upgrade is
successful, the upgrade is completed; if failed, perform version rollback.

This process lasts about 20 minutes.

4. Version Rollback

If the version upgrade fails, it needs to perform version rollback. Specific failure situation
requires specific rollback step. For detailed method, see 6 Version Rollback.

The rollback process lasts about 30 minutes.

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 3


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

3 PREPARATION BEFORE UPGRADE


This chapter mainly focuses on a series of preparation work before version upgrade.

3.1 Preparation Record before Upgrade


To ensure a quick, accurate and safe version upgrade, adequate preparation must be done before
upgrade.

Keep a record of whether the preparation work is done and the detailed preparation according to
Table 1.1 before upgrade.

Table 1.1 Preparation Record before Upgrade

S.N. Preparation Work Completed or Not Record of Preparation


1 Read Documents of Version
2 Prepare Software and Hardware
3 Set up Upgrade Environment
4 Backup Configuration Information
5 Backup Version File
6 Check Running Status of Hardware
7 Check Running Status of System
8 Check Services
9 Check FLASH Remaining Space

3.2 Read Documents of Version


Download version documents, including Version Release Note and Version Upgrade Guide
(namely this document); and read carefully.

5. Version Release Note

Read the Version Release Note mainly for the following information:

 Whether it needs to upgrade bootrom;

 Whether there is any change in the configuration commands of target version.

6. Version Upgrade Guide

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 4


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

Read it to have a good grasp of notification items and detailed operation steps in version
upgrade.

3.3 Prepare Software and Hardware


7. Hardware Preparation

 When conditions permit, prepare spare parts for switches in key nodes and tools required
by the replacement;

 If bootrom needs to be upgraded, it needs to prepare a certain number of programmed


bootrom chips ready for use and a chip extractor;

 Prepare serial console cable and network cable necessary for upgrade; and check if they
are usable.

8. Software Preparation

 Apply and download version files necessary for upgrade according to the flow specified by
ZTE and check the file size;

 If there is any change in the configuration commands of the target version, it will need to
acquire current configuration in advance; record it if there is any difference between
configuration of target version and that of the original version, and edit corresponding
configuration command script on the basis of the format of the new version;

 Prepare FTP/TFTP tool software necessary for upgrade, and check if they are usable;

 Prepare tool software Araxis merge for comparing configuration information before and
after upgrade.

3.4 Set up Upgrade Environment


9. Serial Port Connection

Connect PC with device via serial console cable; open HyperTerminal or other terminal
software and configure serial port attribute:

– Bits per Second (baud rate): 9600

– Data Bits: 8

– Parity: None

– Stop Bits: 1

– Flow Control: None

After the configuration, verify that the device can be accessed via serial port and open automatic
ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 5
ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

logging function for the terminal software.

For detailed setting method, refer to 8.1 Terminal Software.

10. Network Cable Connection

Connect network port of PC with service port of device or management port via network cable;
configure IP address of same network segment on both sides to ensure the two peers can ping
through each other.

Telnet the IP address of the device from PC to ensure it can access the device normally.

11. Start FTP Server

Set and start FTP server software to ensure the running is normal. See 8.2 FTP Tool for the
setting of common FTP server tool software.

3.5 Backup Data

3.5.1 Backup Configuration Information


Current configuration information of the device is vital, so it must be backed up before upgrade
in order to restore data after version upgrade.

12. Check current device configuration and save the displayed configuration information to the
background server
ZXR10#show running-config

13. Save current configuration and verify that the saving is successful.
ZXR10#write
Building configuration...
..[OK]
ZXR10#dir cfg
Directory of flash:/cfg

attribute size date time name


1 drwx 2048 MAY-06-2009 14:08:28 .
2 drwx 2048 MAY-06-2009 13:58:14 ..
3 -rwx 5070 MAY-06-2009 14:08:28 startrun.dat

16117760 bytes total (7120896 bytes free)


ZXR10#

14. Backup the configuration file to the background FTP server

 Copy the configuration file via the service port


ZXR10#copy flash: /cfg/startrun.dat ftp: //168.1.64.64/startrunold.dat@target:target

 Copy the configuration file via the management port

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 6


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

ZXR10#copy flash: /cfg/startrun.dat ftp: mng //168.1.64.64/startrunold.dat@target:target

3.5.2 Backup Version File


If the upgrade fails, it is necessary to use original version to restore the running. Therefore, it is
important to backup the version files.

15. View current version file on the device


ZXR10#dir img
Directory of flash:/img

attribute size date time name


1 drwx 2048 MAY-07-2009 17:58:46 .
2 drwx 2048 MAY-12-2009 18:45:53 ..
3 -rwx 7391443 MAY-07-2009 17:53:04 zxr10.zar
4 -rwx 357072 MAY-07-2009 17:49:34 bootrom.bin

16117760 bytes total (8353792 bytes free)


ZXR10#

16. Backup the version file to the background FTP server

 Copy version file via service port


ZXR10#copy flash: /img/zxr10.zar ftp: //168.1.64.64/zxr10old.zar@target:target

 Copy version file via management port


ZXR10#copy flash: /img/zxr10.zar ftp: mng //168.1.64.64/zxr10old.zar@target:target

3.6 Check Running Status

3.6.1 Check Running Status of Hardware


Check whether or not the system hardware is in normal state before upgrade to make sure there
is no hidden hardware fault.

Mainly, check if the indicator on the panel is in normal status.

17. RUN indicator

Being OFF indicates the main board is faulty

Flashing indicates the main board works normally

18. PWR indicator

Being constantly ON indicates the system power works normally

Being OFF indicates the system power is faulty

19. LINK/ACT indicator

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 7


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

Flashing indicates data receiving/sending is happening on the interface

Being ON indicates the interface link has established

Being OFF indicates the interface has no connection with any other interface

20. FDX/COL

Being ON indicates link of this interface is in full duplex mode

Being OFF indicates link of this interface is in half duplex mode

Flashing indicates there is a conflict in sending and receiving packets on this interface

3.6.2 Check Running Status of System


Check the running status of system before upgrade and record related information for
comparison after upgrade. The main items to be checked are as shown in Table 1.1; yet, it needs
to add or delete some of the items according to the commissioning of practical service.

Table 1.1 Checklist of System Running Status

Operation Item Operation Command Remarks


Display software version of system show version
Display boot version of system show bootrom
Display current configuration file show running-config
Display CPU utilization show process
Routing information logging show ip route
Display type and number of route entry show ip protocol routing summary
Interface traffic statistics show interface
Layer 3 interface information show ip interface brief
Information of MAC forwarding table show mac
Information of ARP table show arp
Alarm information logging show logging alarm
Display content of log file dir data
OSPF neighbor status show ip ospf nei
BGP neighbor status show ip bgp sum
PIM-SM neighbor information show ip pimsm nei
Display multicast route show ip mroute
Display MPLS forwarding table show mpls for
Display system clock show clock

3.6.3 Check Services


Check the running status of services carried on the device. The items to be checked can be
adjusted according to services enabled at site where devices are upgraded.

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 8


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

Services checking needs cooperation from the customer and the check result will be subject to
their confirmation.

3.6.4 Check FLASH Remaining Space


Make sure enough FLASH remaining space is available to accommodate new version before
upgrade; if not, delete some useless files. If the space is still not sufficient after deleting, back
up the files (such as, log file) not necessary for the running of the system to the background FTP
server, and then remove them from FLASH.

21. Check FLASH remaining space


ZXR10#dir
Directory of flash:/

attribute size date time name


1 drwx 2048 MAY-07-2009 17:58:46 img
2 drwx 2048 APR-10-2009 15:43:36 cfg
3 drwx 2048 MAY-07-2009 18:00:24 data

16117760 bytes total (8353792 bytes free)


ZXR10#

22. Delete useless files


ZXR10#dir
Directory of flash:/img

attribute size date time name


1 drwx 2048 MAY-06-2009 14:24:24 .
2 drwx 2048 MAY-06-2009 13:58:14 ..
3 -rwx 8261217 MAY-21-2008 10:12:32 zxr10.old
4 -rwx 8966958 JAN-21-2008 12:03:31 zxr10.zar

ZXR10#delete zxr10.old
Are you sure to delete files?[yes/no]:y
Start deleting file
deleting /flash/img/zxr10.old
..
file deleted successfully.
ZXR10#

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 9


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

4 BOOTROM UPGRADE
Please skip this chapter if it doesn’t need to upgrade bootrom.

This chapter introduces notification items, upgrade steps, upgrade failure emergency response
and bootrom programming steps in the process of upgrading bootrom.

4.1 Notification Items


ZXR10 5900&5200 switch supports upgrading bootrom online. In upgrade, the following items
should be noted:

23. Do not upgrade bootrom online when CPU utilizations of line cards are high.

24. It is forbidden to power off during the live upgrade of bootrom, or the system will fail to
boot up.

4.2 Upgrade Flow

Fig 1.1 Bootrom Upgrade Flow

Begin the upgrade

Delete leftover boot file

Copy boot file

Update bootrom

Verify the upgrade

Finish the upgrade

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 10


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

4.3 Record of Upgrade Process


In the process of upgrading bootrom, operate according to the upgrade steps and record the
completion status of each step, as shown in Table 1.2.

Table 1.2 Record of bootrom Upgrade Process

S.N. Operating Procedure Completed or Not Implementation Status


1 Delete leftover boot files
2 Copy boot files
3 Update bootrom
4 Verify upgrade

4.4 Upgrade Steps


The detailed upgrade steps are as follows.

4.4.1 Delete Leftover Boot Files


It needs to delete bootrom file of the old version under img directory before upgrade.
ZXR10#cd img
ZXR10#dir
Directory of flash:/img

attribute size date time name


1 drwx 2048 MAY-06-2009 14:29:40 .
2 drwx 2048 MAY-06-2009 13:58:14 ..
3 -rwx 324841 JAN-01-1980 00:00:23 bootrom.bin
4 -rwx 8976895 JAN-01-1980 00:01:42 zxr10.zar

16117760 bytes total (4027189 bytes free)


ZXR10#
ZXR10#delete bootrom.bin
Are you sure to delete files?[yes/no]:y
Start deleting file
deleting /flash/img/bootrom.bin..
..
file deleted successfully.
ZXR10#

4.4.2 Copy Boot Files


Before upgrade, copy all boot files necessary for upgrading bootrom to img directory in FLASH
of the switch.
ZXR10#copy ftp: //192.168.1.1/bootrom.bin@target:target flash: /img/bootrom.bin

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 11


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

Notes:

Filenames of Boot saved to FLASH must be correct and identical to that in the compression
package of software version.

After copying, execute command dir img to check if the boot file size is consistent with that on
FTP server.

4.4.3 Update Bootrom


25. Enter system implicit mode
ZXR10#olleh
zxr10(config-increte)#

26. Update bootrom


ZXR10(config-increte)#bootrom update

If the update succeeds, the system will prompt that the update is successful.

 Notes:
If it prompts the update fails upon upgrading the bootrom, please delete the corresponding boot
file under img directory and recopy a new one and then perform update again. If the upgrade
still fails after several times of attempts, replace bootrom chip of corresponding card manually.

27. Press “ctrl+z” to exit the implicit mode

4.4.4 Verify Upgrade


After it prompts the upgrade is successful, execute command show boot to check the updated
boot version. If it displays as the version number of the new version, it indicates bootrom
upgrade is successful.
ZXR10#sho boot
Bootrom Version : V1.10
Creation Date : 2008/8/6
ZXR10#

4.5 Upgrade Failure Emergency Response


If the online upgrade fails, it needs to start the Upgrade Failure Emergency Response and
replace bootrom chip manually. Generally, it has two situations:

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 12


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

28. If the upgrade fails after several times of attempts, replace bootrom chip of corresponding
device manually.

29. When an exception occurs, for example, the power fails during the bootrom is being
upgraded, or it prompts the bootrom is upgraded successfully but the fails to be started, it
needs to replace bootrom chip of corresponding card manually.

The location of each bootrom chip on the card is marked in red in the attachment.

5900&5200
boot.JPG

4.6 Bootrom Programming Guide


See the attachment for the methods of programming bootrom chip.

Programming
BootRom.rar

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 13


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

5 SOFTWARE VERSION UPGRADE


This chapter introduces notification items, upgrade steps and examination and test after upgrade
of software version upgrade.

5.1 Notification Items


30. Set auto-logging function of terminal software before upgrade for analyzing the reason of
unexpected upgrade failure;

31. During the process of writing the version into FLASH, forbid to restart the device or
power off, otherwise FLASH may be damaged;

32. During the process of writing the version into FLASH, CPU utilization will rise, so it is
forbidden to implement other actions on the device.

33. The troubleshooting principle for unexpected upgrade failure is that recover services as
soon as possible and then locate the failure reasons; Meantime, during the period of
upgrade application, try to collect information as much as possible for subsequent analysis;

34. For unexpected situations that cannot be solved, please contact instructors of Data
Customer Service Department.

5.2 Upgrade Flow


Fig 1.1 depicts software version upgrade flow.

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 14


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

Fig 1.1 Software Version Upgrade Flow

Begin the upgrade

Delete the old version file

Download the target version


file

Check the boot mode

Reboot the switch

Check the boot status of the


device

Check the new version


information

Check the configuration


information

Verify the upgrade

Finish the upgrade

5.3 Record of Upgrade Process


In the process of upgrading software version, operate according to the upgrade steps and record
the completion status of each step, as shown in Table 1.2.

Table 1.2 Record of Software Version Upgrade Process

S.N. Operating Procedure Completed or Not Implementation Status


1 Rename Old Version File
2 Download Target Version File
3 Check Boot Mode
4 Reboot Switch
5 Check Boot Status of Device
6 Check New Version Information
7 Check Configuration Information

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 15


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

S.N. Operating Procedure Completed or Not Implementation Status


8 Verify Upgrade

5.4 Upgrade Steps


The detailed upgrade steps are as follows.

5.4.1 Rename Old Version File


Rename the version file of the master main board:
ZXR10#rename zxr10.zar old.zar

Delete the old version file if FLASH can not accommodate two versions:
ZXR10#cd img
ZXR10#delete zxr10.zar

5.4.2 Download Target Version File


Download the version file of the target version from FTP server to img directory in FLASH of
the switch.

Notes:

The name of the target version file saved to FLASH must be zxr10.zar.

 Copy version file via service port


ZXR10#copy ftp: //168.1.64.64/zxr10.zar@target:target flash: /img/zxr10.zar

 Copy version file via management port


ZXR10#copy ftp: mng //168.1.64.64/zxr10.zar@target:target flash: /img/zxr10.zar

After downloading, execute command dir img to check if the version file size is consistent with
that on FTP server.

5.4.3 Check Boot Mode


Check whether the boot mode is local boot:
ZXR10#show running-config | include nvram
Building configuration...
...
nvram imgfile-location local //Local indicates local boot while network indicates boot
via network
ZXR10#

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 16


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

If it shows as boot via network, execute command to change mode to local boot, and save the
configuration:
ZXR10(config)#nvram imgfile-location local
ZXR10(config)#write
Building configuration...
..[OK]
ZXR10(config)#exit
ZXR10#write

5.4.4 Reboot Switch


Execute command reload to reboot the switch, or press the power switch on the back of the
device to reboot it.

It needs about 5 minutes to boot up the device. During this process, observe indicator status and
output information of serial port.

Generally, it is suggested that, during the upgrade and reboot process, enable the logging of the
HyperTerminal to record the upgrade and reboot process.

Notes:

If the device cannot boot up normally, and causes cannot be located within 20 minutes, it
indicates the upgrade fails. Refer to Upgrade Failure Emergency Response to roll back to the
old version.

5.4.5 Check Boot Status of Device


After the device is successfully booted, check the status of the indicators and CPU utilization to
make sure the device is running normally.
ZXR10#show process
PhyMem: Physical memory (megabyte)

Panel CPU(5s) CPU(1m) CPU(5m) PhyMem Buffer Memory

MP(M) 1 9% 9% 11% 128 0% 77.821%


ZXR10#

5.4.6 Check New Version Information


Check version information currently running on the device and make sure the version number is
the designated target version number.
ZXR10#show version
ZXR10 Router Operating System Software, ZTE Corporation
ZXR10 ROS Version V4.08.20

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 17


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

ZXR10_5228 Software, Version ZXR10 5200 V2.8.02.A.21, RELEASE SOFTWARE


Copyright (c) 2000-2007 by ZTE Corporation
Compiled Jan 5 2009, 09:57:13
System image files are flash:<//flash/img/zxr10.zar>
System uptime is 0 days, 0 hours, 7 minutes

[MPU]
Main processor: PowerPC MPC8270 Processor with 128M bytes of memory
512K bytes of non-volatile configuration memory
16M bytes of processor board System flash (Read/Write)
ROM: System Bootstrap, Version: V1.10 , RELEASE SOFTWARE
Hardware Version: V1.3, CPLD Version: V1.2
System serial: 20097

ZXR10#

5.4.7 Check Configuration Information


Execute command show running-config to view current configuration information. Compare it
with the configuration information backed up before upgrade to see if there is configuration
loss.

As for commands whose parameters needs to be modified in new version, configure these
commands with configuration commands prepared before upgrade.

As for extremely lengthy configuration information, it is recommended to use tool Araxis merge
to compare the configuration information after and before the upgrade so that to find the
configuration loss effectively and timely. See 8.3 Araxis merge for the method of using tool
Araxis merge.

5.4.8 Verify Upgrade


The contents to be verified after upgrade are substantially identical to that of running status
check before upgrade, which mainly covers the following three parts:

35. Check Running Status of Hardware

Check if the system hardware after upgrade works normally and if the panel indicator is in
normal status.

36. Check Running Status of System

Check the running status information of the system after upgrade, and compare it with the
information recorded before upgrade to see if it is normal. The main items to be checked are as
shown in 20(1)Table 1.1; yet, it needs to add or delete some of the items according to the
commissioning of practical service.

37. Check Services

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 18


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

Check the running status of services carried on the device. The items to be checked can be
adjusted according to services enabled at site where devices are upgraded.

Services checking needs cooperation from the customer and the check result will be subject to
their confirmation.

Notes:

In case the services are abnormal and it is the problem of the device, if causes cannot be located
within 20 minutes, it indicates the upgrade fails. Refer to Upgrade Failure Emergency
Response to roll back to the old version.

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 19


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

6 VERSION ROLLBACK
This chapter introduces specific rollback steps under diverse situations.

6.1 Application of Rollback


If the upgrade fails, it needs to perform version rollback. We should adopt different rollback
procedures for different failures.

 Fail to Boot Device with New Version

Apply boot via network to roll back. For detailed steps, see 6.2.

 Services Be Abnormal with New Version

Directly roll back to the old version for rebooting. For detailed steps, see 6.3.

Notes:

If the rollback fails, or abnormal condition occurs, please contact instructors of Data Customer
Service Department.

6.2 Fail to Boot Device


If the device cannot be booted up with the new version, the upgrade is thought to be failed and
roll back to the original version according to the following steps.

38. Reboot the device through its power switch.

39. Modify version boot mode to boot via network

Reboot the device and press any key to enter boot mode during the countdown period, and then
modify boot parameters.
Copyright (c) 2005 by NanJing Institute of ZTE, Inc.
Compiled Aug 6 2008, 09:23:31

3
[ZXR10 Boot]: c

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 20


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

'.' = clear field; '-' = go to previous field; ^D = quit


Boot Location [0:Net,1:Flash] : 0 //0 indicates booting from background FTP, namely
booting via network
Port Number : 1 //It is the service port the device corresponds to,
and 1 indicates the first port
Client IP [0:bootp]: 168.4.168.168 //Correspond to port address of port 1
Netmask: 255.255.0.0
Server IP [0:bootp]: 168.4.168.89 //Correspond to background FTP server address
Gateway IP: 168.4.168.168 //Gateway address is port address of port 1
FTP User: target //Correspond to FTP username: target
FTP Password: //Correspond to password of user target
FTP Password Confirm:
Boot Path: zxr10.zar //Apply the default
Enable Password: //Apply the default
Enable Password Confirm: //Apply the default
[ZXR10 Boot]:

40. Reboot Switch

Reboot the device in boot mode, and the system downloads the original version from the
background FTP server automatically.
[ZXR10 Boot]: @ //Reboot the device

Boot Location [0:Net,1:Flash] : 0


Port Number : 1
Client IP [0:bootp] : 10.40.89.79
Netmask : 255.255.255.0
Server IP [0:bootp] : 10.40.89.78
Gateway IP : 10.40.89.78
FTP User : target
FTP Password :
Boot Path : /flash/img/zxr10.zar
Enable Password :
Serial Number : 20097
MAC Address : 00:19:c6:00:3a:04

41. Verify rollback

After rebooting the switch, check if it is the original version number and if the services are
normal.

42. Copy version to FLASH

After the device and services are verified to work normally, delete the new version file copied to
img directory of FLASH during the upgrade, and modify the name of the original version file to
zxr10.zar.
ZXR10#copy ftp: //168.1.64.64/zxr10.zar@target:target flash: /img/zxr10.zar

43. Modify version boot mode to local boot

Change the boot mode from boot via network to local boot:
ZXR10(config)#nvram imgfile-location local

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 21


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

ZXR10(config)#exit
ZXR10#write

6.3 Service Be Abnormal


If, after the device is booted up normally with the new version, the services run abnormally, the
upgrade is thought to be failed and roll back to the original version according to the following
steps.

44. Delete the new version file copied to img directory of FLASH in the process of upgrading,
and modify the name of the old version file to zxr10.zar.
ZXR10#delete zxr10.zar
ZXR10#rename old.zar zxr10.zar

Notes:

Since FLASH has no sufficient space and the old version file has been deleted before upgrade, it
needs to recopy the old version file to FLASH. For detailed steps, see 5.4.2.

45. Execute command reload to reboot the switch

46. Verify rollback

After rebooting the switch, check if it is the original version number and if the services are
normal.

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 22


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

7 FREQUENTLY ASKED QUESTIONS


This chapter introduces the frequently asked questions encountered in the process of upgrade.

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 23


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

8 APPENDIX A: SETTING AND USING OF


TOOL SOFTWARE

8.1 Terminal Software


Common terminal software includes HyperTerminal and SecureCRT. Here, we will introduce
the setting of the two types of software. Primary items to be set comprise:

 Port Attribute

 Automatic logging function

8.1.1 HyperTerminal
The HyperTerminal is usually used for serial port connection. The following introduces the
setting for it.

47. Click [Start→Programs→Accessories →Communications→HyperTerminal] in the


operating system, and the HyperTerminal main interface and [Connection Description]
dialog box pop up.

48. Type the name of the connection in <Name> of [Connection Description] dialog box, click
<OK>, and you will be presented with a [Connect To] dialog box.

49. Select the COM port in <Connect using> option of [Connect To] dialog box for the host to
connect the device, click the OK button, and [COM Properties] dialog box pops up.

50. Click <Restore Defaults (R)> in <COM Properties> dialog box, modify <Bits per second
(B)> as required, click <OK> to finish the setting and enter HyperTerminal main interface.

51. If it needs to record operation log, click [Transfer (T)] menu, select [Capture Text (C)], and
[Capture Text] dialog box pops up. Select log file in the dialog box and click <Start> to
finish the setting.

8.1.2 SecureCRT
SecureCRT is commonly used for serial port connection and telnet connection.

52. Run SecureCRT software, and SecureCRT main interface and [connect] dialog box will

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 24


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

pop up.

If [connect] dialog box is closed, you can click the first button <Connect> on the tool bar of the
main interface or select [Connect…] in [File] menu to open it.

53. Click the third button <New Session> in the tool bar of [Connect] dialog box to establish a
new session, and [Session Options] dialog box will pop up.

54. Set Connection parameters in [Session Options] dialog box:

(1) Settings used for serial port connection

 Name: the name of the connection

 Protocol: serial

 Port: COM port used for the host to connect the device

 Baud rate: baud rate of the device, usually 9600 or 115200

 Data bits: 8

 Parity: None

 Stop bits: 1

(2) Settings used for telnet connection

 Name: the name of the connection

 Protocol: telnet

 Hostname: IP address of the device to be connected

 Port: 23

Click <OK> to finish the parameter setting and enter SecureCRT main interface.

55. If it needs to record operation log, click [File] menu, select [Log Session], and [Select Log
File] dialog box pops up. Select log file in the dialog box and click <Save (S)> to finish
the setting.

8.2 FTP Tool


Common FTP server tool software includes 3CDaemon and WFTPD. The following will
introduce the settings of the two types of software. Primary items to be set comprise:

 FTP username/password

 Directory used for saving version file or configuration file on the server

Other software shares the similar setting.

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 25


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

8.2.1 3CDaemon
56. Run 3CDaemon software in the background host.

57. Open [FTP Server] module on the left, click [Configure FTP Server], and [3CDaemon
Configuration] dialog box pops up. Then perform the following operations:

(1) Type username, e.g. target in the above input box;

(2) Click <Set/Change user’s password> button and set the password;

(3) Type directory, e.g. IMG directory of Disk D used for saving version file or configuration
file in the input box below, or click the button on the right of the input box to select
catalog;

(4) Select Login, Download and Upload in the list below <This user can:>;

(5) Click <Application (A)> to finish the setting.

This is shown in Fig 1.1.

Fig 1.1 3CDaemon Interface

8.2.2 WFTPD
58. Run wftpd software in the background host.

59. Click menu item [Security], select [User/Rights…], and [User/Rights Security Dialog]

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 26


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

dialog box pops up. Then perform the following operations:

(1) Click <New User...> to create a user, such as target, and set a password.

(2) Select user name "target" in the <User Name> drop-down box.;

(3) Input a directory to save version file and configuration file in the <Home Directory> input
box, such as, the IMG directory on Disk D.

60. Click <Done> to complete the setting.

This is shown in Fig 1.1.

Fig 1.1 WFTPD Interface

8.3 Araxis merge


Araxis merge is a file comparison tool. In version upgrade process, it is commonly used to
compare configuration information after and before upgrade.

Araxis merge is very easy to use.

61. Run Araxis merge software, and the main interface pops up. We can see the main interface
is divided into two parts: left and right. Each part has an input box, displaying “You can
type a filename here”.

62. Click the button <...> on the right of each input box respectively, select two documents that
needs to be compared, and the selected documents are displayed on two sides of the main
interface, and the different places are clearly marked.

This is shown in Fig 1.1.

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 27


ZXR10 5900&5200 Series SwitchV2.8.02A Version Upgrade Guide For Internal Use Only▲

Fig 1.1 Araxis merge Interface

ZTE Corporation Copyright Reserved, No Spreading Abroad unless Permitted 28

Potrebbero piacerti anche