Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Service Router
V600R003C00
Cusmoize Guide
Date
11-04-2013
CONTENTS
1- Check list Before You Start.
2- Backup for old software files.
3- Deleting Unnecessary Files.
4- Upgrade Procedure.
5- Verifying the Upgrade.
6- Rollback procedures.
7- Verifying the Rollback.
8- Special topics for special Cases.
1.
Choose Start > Run. Enter cmd and then press Enter.
2.
3.
Enter the user name ftpuser and the password huawei. The ftp> prompt is displayed
on the FTP client.
User ( O&M IP ).:(none)): Username
331 Password required for Password.
Password:
230 User logged in.
Step 3 Set the file transfer mode to binary and the directory where the Software files are for
example to c:\ for the FTP client.
ftp> binary
200 Type set to I.
ftp> lcd c:\
Local directory now C:\
Step 4 At the ftp> prompt, run the get remote-filename [ local-filename ] command to download
files from the FTP server, and then save the files in the c:\ directory.
For example, download confile.cfg, paf.txt, license.txt, V600R001C00SPC200B206.cc,
and the GTL license file and save them in the root directory.
ftp> get config.cfg confilebackup.cfg
200 Port command okay.
150 Opening BINARY mode data connection for config.cfg.
226 Transfer complete.
ftp: 4545 bytes received in 0.01Seconds 303.00Kbytes/sec.
----End
Delete $_patchstate_a.backup.
Verify that system software (.cc), configuration files (.cfg or .zip), GTL license file
(.dat), PAF file (.txt), and license file (.txt) are not used before deleting them.
If remaining space on the CF cards is insufficient for storing target system software, run
the following commands in the user view to delete the unnecessary files from the CF cards
on both MPUs.
<HUAWEI> delete cfcard:/$_patchstate_a.backup
Info: Deleting file cfcard:/$_patchstate_a.backup...succeeded.
<HUAWEI> delete slave#cfcard:/$_patchstate_a.backup
Info: Deleting file slave#cfcard:/$_patchstate_a.backup...succeeded.
Run the following command to restore the dumped file in the recycle bin.
<HUAWEI> undelete cfcard:/$_patchstate_a.backup
%Undeleted file cfcard:/$_patchstate_a.backup.
reset
reset
reset
reset
recycle-bin
recycle-bin
recycle-bin
recycle-bin
cfcard:/
cfcard2:/
slave#cfcard:/
slave#cfcard2:
4- Upgrade Procedure :
Step 1 Log in to the FTP server from the PC that functions as an FTP client.
1.
Save the files to be uploaded in the specified directory (for example, c:\) on the PC.
Choose Start > Run on the PC. Enter cmd and press Enter.
2.
3.
Enter the user name and the password ,The ftp> prompt is displayed on the FTP
client.
User ((O&M IP).:(none)): username
331 Password required for password.
Password:****
230 User logged in.
ftp>
Step 2 Set the file transfer mode to binary and the directory to c:\temp on the PC.
ftp> binary
200 Type set to I.
ftp> lcd c:\
Local directory now C:\
Step 3 At the ftp> prompt, run the put local-filename [ remote-filename ] command to upload the
specified files on the PC.
.
ftp> put V6R3C00-NE-X3.CC V6R3C00-NE-X3.CC
200 Port command okay.
150 Opening BINARY mode data connection for V6R3C00-NE-X3.CC
226 Transfer complete.
ftp: 263098112 bytes sent in 743.13Seconds 354.04Kbytes/sec.
Step 4 Copy files to the CF card on the slave MPU and view uploaded files.
Run the copy source-filename destination-filename command to copy system software,
paf.txt, license.txt, and the GTL license file from the master MPU's CF card to the slave
MPU's CF card.
<HUAWEI> copy cfcard:/V6R3C00-NE-X3.CC slave#cfcard:/V6R3C00-NE-X3.CC
Warning: File cfcard:/ V6R3C00-NE-X3.CC will be copied to slave#cfcard:/
V6R3C00-NE-X3.CC. Continue? [Y/N]:y
100% completed.
.
After the preceding operations, run the dir command to view the uploaded files and verify
that the files have been uploaded or downloaded completely.
After uploading or downloading files, verify their completeness. If a file is incomplete due to
insufficient storage space, delete unnecessary files from the CF card and upload or download the file
again. For information about how to delete unnecessary files from a CF card, see "3 -Deleting
Unnecessary Files."
<HUAWEI> dir cfcard:
Directory of cfcard:/
Idx
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Attr
drwdrwdrw-rwdrw-rw-rwdrw-rw-rw-rw-rw-rw-rw-rwdrwdrw-
Size(Byte)
284,588,262
86,731
1,851
3,336
246,057,216
5,009
14,721
123,151
120,325
14,592
-
Date
Sep 02
Sep 02
Apr 26
Jan 25
Jan 25
Jan 25
Jan 25
Jan 25
Jan 25
Jan 25
Jan 25
Jan 25
Jan 25
Jan 25
Jan 25
Jan 25
Jan 25
2008
2008
2000
2011
2011
2011
2011
2011
2011
2011
2011
2011
2011
2011
2011
2011
2011
Time(LMT)
17:50:12
17:50:12
12:00:04
21:29:18
11:21:32
21:03:42
21:16:46
19:09:22
19:09:14
18:52:26
20:58:36
21:03:58
21:09:00
21:15:42
21:15:50
11:20:52
11:09:46
FileName
bam
bambak
bak
V6R3C00-NE-X3.cc
pmdata
paf-v6r1.txt
gtl.dat
log
$_patchstate_reboot
v600r001c00spc200b206.cc
vrpcfg.cfg
license-v6r1.txt
$_patchstate_a.backup
paf-ne.txt
license-ne.txt
bill
mplstpoam
2011
2011
2010
2011
2011
2011
2011
2011
Time(LMT)
21:10:06
21:19:16
11:29:06
11:09:30
21:18:34
21:18:56
21:42:54
21:41:24
FileName
$_patchstate_a.backup
vrpcfg.cfg
dhcp
mplstpoam
license-ne.txt
gtl.dat
V6R3C00-NE-X3.cc
2011
2011
2011
2011
19:05:54
21:18:14
11:22:36
21:36:14
v600r001c00spc200b206.cc
paf-ne.txt
bill
$_patchstate_reboot
If the preceding command output is displayed, patches are running in the system.
Perform the following operations under the guidance of Huawei technical support
personnel:
1.
2.
Delete both the current patch configurations and the patch configuration for the next
startup.
<HUAWEI> reset patch-configure
<HUAWEI> reset patch-configure next-startup
Step 6 Specify system software, and the configuration file for the next startup.
Do specify system software before specifying the PAF and license files; otherwise, the system
may use the default PAF and license files during startup.
The system loads PAF and license files contained in system software by default. Although userdefined PAF and license files are specified for the next start up, the startup paf default
command and the startup license default command can specify the default files for the next
startup. In V300R002 or earlier, PAF and license files saved in the CF card can only be loaded.
If dual MPUs are installed on an NE40E/80E, the configuration file must have been stored in CF
cards on both MPUs before being loaded; the PAF file, license file, and system software on the
master MPU must be the same as those on the slave MPU. Any inconsistency will cause trouble
in restarting the NE40E/80E.
Specify the system software to be loaded to both MPUs for the next startup.
<HUAWEI> startup system-software V6R3C00-NE-X3.CC
Info: Succeeded in setting the software for booting system.
<HUAWEI> startup system-software V6R3C00-NE-X3.CC slave-board
Info: Succeeded in setting the software for booting system.
Info: Succeeded in setting main board resource file for system.
(Optional) Specify the startup configuration file for the NE40E/80E. If no configuration
file is specified, the configuration file for the source version is used during the next
startup.
<HUAWEI> startup saved-configuration vrpcfg.cfg
Info: Succeeded in setting the configuration for booting system.
After completing the preceding operations, run the display startup command to verify
that files to be loaded for the next startup have been specified successfully.
If V300R003 is to be upgraded to V600R003C00, verify that the number of uploaded bytes is the
same as the target system software size. This means that system software is uploaded completely.
cfcard:/v600r001c00spc200b206.cc
cfcard:/v600r001c00spc200b206.cc
cfcard:/V6R3C00-NE-X3.cc
cfcard:/vrpcfg.cfg
cfcard:/vrpcfg.cfg
cfcard:/paf-v6r1.txt
cfcard:/paf-ne.txt
cfcard:/license-v6r1.txt
cfcard:/license-ne.txt
NULL
NULL
cfcard:/v600r001c00spc200b206.cc
cfcard:/v600r001c00spc200b206.cc
cfcard:/V6R3C00-NE-X3.cc
cfcard:/vrpcfg.cfg
cfcard:/vrpcfg.cfg
cfcard:/paf-v6r1.txt
cfcard:/paf-ne.txt
cfcard:/license-v6r1.txt
cfcard:/license-ne.txt
NULL
NULL
Some commands and functions may change because the configuration file changes after the
reboot.
The reboot fast command is used to restart an NE40E/80E without a message displayed to ask
you whether or not to save configurations.
<HUAWEI> reboot
mpu 5:
Next startup system software: cfcard:/V6R3C00-NE-X3.cc
Paf: V600R003C00
License: V600R003C00
Next startup saved-configuration file: cfcard:/vrpcfg.cfg
The Other Mpu is the same with Mpu 5
Info: The system is now comparing the configuration, please wait.
Warning: Inactive configuration may be lost. Whether to save them to
configuration file for the next startup:cfcard:/vrpcfg.cfg?[Y/N]:y
Now saving the current configuration to the slot 4 ..
Save the configuration successfully.
Now saving the current configuration to the slot 5 ..
Save the configuration successfully.
System will reboot! Continue?[Y/N]:y
Step 9 After the restart, run the display startup command to verify that the NE40E/80E is running
target system software.
During the upgrade, if a board is loading system software, the board's RUN indicator blinks twice
every second; after the board registers successfully, its RUN indicator blinks once every second.
Before proceeding to the next step, determine whether the board registers successfully by observing
its RUN indicator.
In versions later than V300R003C02B608, if the system is configured to use the default PAF and
license files, the display startup command displays "Next startup license file:
default" and
"Startup license file:
default."
<HUAWEI> display startup
MainBoard:
Configured startup system software:
Startup system software:
Next startup system software:
Startup saved-configuration file:
Next startup saved-configuration file:
Startup paf file:
Next startup paf file:
Startup license file:
Next startup license file:
Startup patch package:
Next startup patch package:
SlaveBoard:
Configured startup system software:
Startup system software:
Next startup system software:
Startup saved-configuration file:
Next startup saved-configuration file:
Startup paf file:
Next startup paf file:
Startup license file:
Next startup license file:
Startup patch package:
Next startup patch package:
cfcard:/V6R3C00-NE-X3.cc
cfcard:/V6R3C00-NE-X3.cc
cfcard:/V6R3C00-NE-X3.cc
cfcard:/vrpcfg.cfg
cfcard:/vrpcfg.cfg
cfcard:/paf-ne.txt
cfcard:/paf-ne.txt
cfcard:/license-ne.txt
cfcard:/license-ne.txt
NULL
NULL
cfcard:/V6R3C00-NE-X3.cc
cfcard:/V6R3C00-NE-X3.cc
cfcard:/V6R3C00-NE-X3.cc
cfcard:/vrpcfg.cfg
cfcard:/vrpcfg.cfg
cfcard:/paf-ne.txt
cfcard:/paf-ne.txt
cfcard:/license-ne.txt
cfcard:/license-ne.txt
NULL
NULL
1
2
3
4
5
6
7
9
10
LPU
LPU
LPU
MPU
MPU
CLK
CLK
PWR
FAN
Present
Present
Present
Present
Present
Present
Present
Present
Present
Registered
Registered
Registered
Registered
NA
Registered
Registered
Registered
Registered
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
NA
NA
NA
Slave
Master
Slave
Master
NA
NA
This display indicates that the software version of each component on the NE40E/80E is
the same as the current system software version. A detailed list for each component is not
displayed.
If the upgrade failed, the display is as follows:
<HUAWEI> check version startup
Slot#
Type Content
CurVer ExactVer State
Upgrade Suggestion
10
FAN MonitorBus Software 1.6
1.7
Incompatible
Must
In this example, the display indicates that the version of the MonitorBus of the LPU in slot
6 does not match the current system software version. You must upgrade the MonitorBus
of the LPU.
If there are inconsistencies like the one shown in the preceding display, you must perform
a manual upgrade to correct the problem. For detailed instructions, see section Error:
Reference source not found"Error: Reference source not found."
Keep a detailed record of the operating status of each board for use as a troubleshooting
reference.
Blinking
Intervals of
RUN
Indicators
on the MPU
of
the
NE40E/NE80
E)
Blinking
Intervals
of
RUN
Indicators on
the MPUD of
the NE40E-X3
Blinking Intervals
of RUN Indicators
on
the
MPUC/SRUC of the
NE40E-X8/NE40EX16
Non-file loading
phase before main
control
board
registration
2s
1s
1s
0.12s
0.06s
0.06s
1s
1s
1s
Blinking Intervals
of RUN Indicators
on
the
LPUA/LPUG/LPUH
Blinking
Intervals
of
RUN Indicators
on the LPUF10/20/40
Blinking
Intervals of
RUN
Indicators
on
the
LPU41/101
Non-file loading
phase
before
LPU registration
2s
Constantly off
Constantly off
File
loading
phase
before
LPU registration
0.5s
0.5s
0.12s
After
LPU
registration
1s
1s
1s
2s
Constantly on
0.5s
1s
If a board fails to register, it will cycle in the following process until it registers successfully: nonfile loading phase before registration, file loading phase before registration, and registering phase.
Verifying Configurations
Run the display current-configuration command to check the NE40E/80E configurations
after the NE40E/80E starts up. Run the compare configuration command in the user view
to compare the new configuration file with the saved configuration file. This allows you to
check whether any configurations have been lost or changed.
The following display shows that no configuration has been lost:
<HUAWEI> compare configuration
Info:The current configuration is the same as the next startup configuration
file.
The following display shows that some configurations have been lost:
<HUAWEI> compare configuration
Warning: The current configuration is not the same as the next startup
configura
tion file.
====== Current configuration line 16 ======
efm enable
#
clock source bits0 ssm unk
clock source bits1 ssm unk
clock source ptp ssm unk
#
snmp-agent trap type base-trap
====== Configuration file line 16 ======
efm enable
#
snmp-agent trap type base-trap
#
slot 2
iphc aging-time 20
#
diffserv domain default
diffserv domain 5p3dbas
Verifying Services
Two methods are available for verifying whether services are normal.
Check whether services are running properly before running the save command.
Compare data entries from the upgraded routing table, FIB table, MAC table and
other tables with pre-upgrade entries from the same tables to determine if any data
has been lost. Check whether the traffic volumes of services are the same before and
after the upgrade.
Contact network management personnel from the customer to check whether services
are running properly.
6- Rollback procedures
If the NE40E/80E functions properly after the system software upgrade, use
command lines to perform version rollback.
If the NE40E/80E does not function properly after the system software upgrade, use
the BootROM to perform version rollback in the special topics part.
And be noted If we are rolling back the system to a source version earlier than
V300R003, we must change the names of the target PAF and license files to paf.txt
and license.txt and copy these two files to the CF card of the master MPU as well as to
the slave MPU if there is one.
2048MB
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
****************************************************
*
*
*
8090 boot ROM, Ver 366.00
*
*
*
****************************************************
Copyright 2001-2008 Huawei Tech. Co., Ltd.
Creation date: Aug 16 2009, 20:05:44
CPU
CPU
CPU
BUS
type
L2 Cache
Core Frequency
Frequency
:
:
:
:
MPC7447A
512KB
1GHz
133MHz
Step 3 Press Ctrl+B within 3 seconds after the prompt of Press Ctrl+B to enter Main Menu... 3
is displayed.
password:
Step 5 Select 4. Enter ethernet submenu to enter the Ethernet interface submenu.
Ethernet
1.
2.
3.
4.
Submenu
Step 6 Select 3. Modify ethernet interface boot parameters to set boot parameters.
Note: two protocols for download, tftp & ftp.
You can modify the flags following the menu.
tftp--0x80, ftp--0x0.
'.' = clear field;
^D = quit
boot device
: mgi0 \\The value of this parameter can be mgi0 or mgi2.
If the file fails to be loaded when the parameter is set to mgi0, set the
parameter to mgi2.
\\Set the parameter to motetsec0 for an MPUC
or SRUC.
processor number
: 2 \\If the preceding parameter is set to mgi0, this
parameter must be set to 2; if the preceding parameter is set to mgi2, this
parameter must be set to 0.
\\Set the parameter to 0 for an MPUC or SRUC.
host name
: host \\This parameter does not need to be set.
file name
: V6R3C00-NE-X3.CC \\The parameter is the name of system
software on the server.
inet on ethernet (e) : 1.1.1.100:FFFFFF00 \\IP address and mask set for the
local device so that the local device can communicate with the FTP server.
inet on backplane (b): \\A backup interface connected to the FTP server. This
parameter does not need to be set.
host inet (h)
: 1.1.1.2 \\IP address of the FTP server.
Ethernet
Submenu
The configuration is now completed. The system returns to the Ethernet interface
submenu.
Step 7 Select 4. Return to main menu. The system returns to the main menu.
Main
Step 8 Select 5. Set boot file and path to specify the configuration file at the next startup.
Boot
1.
2.
3.
4.
5.
6.
7.
Files
Modify
Modify
Modify
Modify
Modify
Modify
Return
Submenu
Step 9 Select 1. Modify the boot file to change the configuration file at the next startup.
boot file is cfcard:/V300R003C02B697.cc, modify the file name if needed.
Please input correctly, e.g.: cfcard:/V200R001B019.cc cfcard:/ V6R3C00-NEX3.CC \\Enter the name of the loaded system software and an absolute path to
save the system software, and press Enter.
The file name you input is cfcard:/ V6R3C00-NE-X3.CC.
Are you sure? Yes or No(Y/N)y
Select 1 Modify the boot file again to check whether the file has been changed
successfully.
Boot
1.
2.
3.
4.
5.
6.
7.
Files
Modify
Modify
Modify
Modify
Modify
Modify
Return
Submenu
The methods for specifying the PAF and license files and the configuration file are the same as that
for specifying the system software. It is not detailed here.
Step 10 Enter y and press Enter. After files have been successfully loaded, the system returns to the
boot files Submenu.
Setting ...
Read flag rec from nvram ......................OK!
Write descriptor to nvram ......................OK!
Done!
Clear version back signal...Done!
Boot
1.
2.
3.
4.
5.
6.
7.
Modify
Modify
Modify
Modify
Modify
Modify
Return
Files
Submenu
Step 11 Select 7. Return to main menu. The system returns to the main menu.
Main
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
Plug the console cable to the Console interface of the slave MPU and restart the
NE40E/80E. The upgrade process is the same as that used to upgrade the master MPU.
Step 13 Select 2. Boot from Cfcard to start the NE40E/80E from the CF card. The NE40E/80E
reboots using the newly loaded system software.
Booting from CFcard
Be sure the baudrate be 9600bps!
pFd->pVolDesc->devHdr.name = cfcard:.
pVolDesc->devHdr.name = cfcard:.
cfcard:/
- Volume is OK
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
pass!
****************************************************
*
*
*
8090 boot ROM, Ver 317.00
*
*
*
****************************************************
Copyright 2001-2009 Huawei Tech. Co., Ltd.
Creation date: May 9 2009, 17:51:28
CPU
CPU
CPU
BUS
type
L2 Cache
Core Frequency
Frequency
:
:
:
:
MPC7447A
512KB
1GHz
133MHz
Step 14 Verify that the NE40E/80E system software has been upgraded successfully.
<HUAWEI> check version startup
Info:Software version match Ok!
Software version match Ok! indicates that the upgrade has succeeded. Otherwise,
upgrade the item manually.
Step 15 (Optional) If the channel check function has been disabled before the upgrade, run the
board-channel-check enable command to enable the channel check function to ensure that
the system software on the slave MPU can be upgraded successfully.
----End
1 Select 2. Download file to CFcard through ethernet interface to download the system
software to the CF card.
Be sure to select 3 to modify boot parameters before downloading!
Enter your choice(1-4): 2
C address:0xa 0xb 0xc 0x0 0x9 0x0
Attached TCP/IP interface to mgi2.
Attaching network interface lo0... done.
boot device
unit number
processor number
: 0
host name
: host
file name
: V6R3C00-NE-X3.CC
inet on ethernet (e) : 1.1.1.100:FFFFFF00
host inet (h)
: 1.1.1.3
user (u)
: 8090
ftp password (pw)
: 8090
flags (f)
: 0x0
target name (tn)
:
Loading
...Done!
pFd->pVolDesc->devHdr.name = cfcard:.
pVolDesc->devHdr.name = cfcard:.
cfcard:/ - Volume is OK
Writing to CFcard...Done!
Ethernet
1.
2.
3.
4.
Submenu
After the system software is loaded, the system returns to the Ethernet interface submenu