Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Huawei AR2240-S upgrade

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Display startupMainBoard: Startup system software: sd1:/ar2240s-v200r003c01spc900.cc Next startup system software: sd1:/ar2240s-v200r003c01spc900.cc Backup system software for next startup: null Startup saved-configuration file: sd1:/vrpcfg.zip Next startup saved-configuration file: sd1:/vrpcfg.zip Startup license file: null Next startup license file: null Startup patch package: Sd1:/ar2240-v200r003sph006.pat Next startup patch package: sd1:/ar2240-v200r003sph006.pat Startup voice-files: null Next startup voice-files: null

Upgrade steps to be added

Upgrade file link: http://support.huawei.com/enterprise/zh/router/ar2200-s-pid-9039730/software/22057058/?idAbsPath=fixnode01%7C7919710%7C21432787%7C7923148%7C22318636%7C9039730

Reference link: http://support.huawei.com/enterprise/zh/doc/DOC1000123576

Used in the reference link

3.8 query current software version information

3.9 query the information of system files currently in use

3.11 build an environment that can be upgraded through TFTP, FTP or SFTP protocols (there is no need to set vlan here, as long as pc and the router are interconnected)

3.11.1 scenario 1: AR as FTP Server

3.12.1 method 1: AR as FTP Server

3.13 check the remaining space in the Flash/ SD card

4.1.1 method 1: AR as FTP Server

4.2 check whether the load is successful

4.3.1 single master series

4.4 restart the Devic

4.6 verify that the upgrade is successful

Huawei AR2220-S upgrade process:

3.11.1 scenario 1: AR as FTP Server

Configure AR as FTP Server, assuming that the IP address of the VLAN100 where the GigabitEthernet0/0/0 interface or Ethernet0/0/0 interface (AR150-S&AR160-S&AR200-S series only) resides is 10.164.30.20, the FTP username is AR, and the password is huawei@123,FTP working directory flash:/ or sd1:/. The following is an example of a device using a Flash card.

System-view

[Huawei] ftp server enable

Info: Succeeded in starting the FTP server

[Huawei] aaa

[Huawei-aaa] local-user AR password cipher huawei@123

Info: A new user added

[Huawei-aaa] local-user AR ftp-directory flash:

[Huawei-aaa] local-user AR service-type ftp

[Huawei-aaa] local-user AR privilege level 15

Usually, the various configuration files for AR100-S&AR120-S&AR150-S&AR160-S&AR200-S&AR1200-S&AR2200-S&AR3200-S enterprise routers are in flash or sd1, so the FTP working directory is generally set to flash: or sd1:.

3.12.1 method 1: AR as FTP Server

Step 1 set AR to FTP Server (refer to "3.11.1 scenario 1: AR as FTP Server")

Step 2 back up the system software and configuration files.

You can log in to the FTP server (that is, AR) to complete the backup in two ways:

Log in to AR through any FTP Client program and back up the files to FTP Client.

Enter the IP address and the working directory of FTP, and you can use this program to copy the files that need to be backed up under the working directory of AR to a directory of FTP Client, such as D:\ ftp.

Log in to AR using the command line on the operation terminal and back up the files to FTP Client.

Note that the directory when logging in should use the directory where the upgrade program is located on this machine (that is, the FTP working directory), assuming D:\ ftp.

On Windows 7 systems, you can start the FTP program by following these steps:

a. On the PC, select start > run.

b. Enter cmd.

c. Enter d in the pop-up interface:

d. Enter cd ftp to enter the ftp directory.

C:\ Documents and Settings\ Administrator > d:

D:\ > cd ftp

D:\ ftp > ftp 10.164.30.20

Connected to 10.164.30.20.

220 FTP service ready.

User (10.164.30.20: (none)): AR # enter the user name manually and enter enter

331 Password required for AR.

Password: # enter the password huawei@123, enter, and the password is not displayed on the screen.

230 User logged in.

Ftp > binary

200 Type set to I.

Ftp > get AR1220-S-V200R007C00SPCc00.cc

200 Port command okay.

150 Opening binary mode data connection for AR1220-S-V200R007C00SPCc00.cc.

226 Transfer complete.

Ftp: received 69129984 bytes and used 110.24Seconds 627.10Kbytes/sec.

As shown above indicates that the file has been successfully transferred, you can query this file in the D:\ ftp directory.

Ftp > get iascfg.zip

200 Port command okay.

150 Opening binary mode data connection for iascfg.zip

226 Transfer complete.

Ftp: received 1197 bytes and used 0.00Seconds 1197000.00Kbytes/sec.

As shown above indicates that the file has been successfully transferred, you can query this file in the D:\ ftp directory.

-the end.

Ftp > dir

229 Entering Extended Passive Mode (| 52105 |)

125 ASCII mode data connection already open, transfer starting for *.

Drwxrwxrwx 1 noone nogroup 0 Jan 16 12:20.

-rwxrwxrwx 1 noone nogroup 304700 Nov 15 2016 sacrule.dat

-rwxrwxrwx 1 noone nogroup 28128 Jan 11 17:35 mon_file.txt

-rwxrwxrwx 1 noone nogroup 906 Jan 16 12:20 vrpcfg.zip

Drwxrwxrwx 1 noone nogroup 0 Dec 16 2015 update

-rwxrwxrwx 1 noone nogroup 109307136 Dec 07 2015 AR2220-S-V200R005C20SPC200.cc

Drwxrwxrwx 1 noone nogroup 0 Dec 16 2015 dhcp

-rwxrwxrwx 1 noone nogroup 0 Jan 11 17:31 20180111.cfg

Drwxrwxrwx 1 noone nogroup 0 Jan 15 07:46 logfile

-rwxrwxrwx 1 noone nogroup 354304 Dec 17 2015 ar2220-s-v200r005sph008.pat

-rwxrwxrwx 1 noone nogroup 249 Jan 16 12:20 private-data.txt

226 Transfer complete.

Ftp > binary

200 Type set to I.

Ftp > get AR2220-S-V200R005C20SPC200.cc

Local: AR2220-S-V200R005C20SPC200.cc remote: AR2220-S-V200R005C20SPC200.cc

229 Entering Extended Passive Mode (| 60503 |)

125 ASCII mode data connection already open, transfer starting for AR2220-S-V200R005C20SPC200.cc.

100% | * * | 104 MiB 760.67 KiB/s 00:00 ETA

226 Transfer complete.

WARNING! 423430 bare linefeeds received in ASCII mode.

File may not have transferred correctly.

109307136 bytes received in 02:20 (760.64 KiB/s)

Startup system-software sd1:/ar2220-s-v200r007c00spcb00.cc

This operation will take several minutes, please wait.

Info: Succeeded in setting the file for main booting system

Dis startup

MainBoard:

Startup system software: sd1:/ar2220-s-v200r005c20spc200.cc

Next startup system software: sd1:/ar2220-s-v200r007c00spcb00.cc

Backup system software for next startup: null

Startup saved-configuration file: sd1:/vrpcfg.zip

Next startup saved-configuration file: sd1:/vrpcfg.zip

Startup license file: null

Next startup license file: null

Startup patch package: sd1:/ar2220-s-v200r005sph008.pat

Next startup patch package: sd1:/ar2220-s-v200r005sph008.pat

Startup voice-files: null

Next startup voice-files: null

3.13 check the remaining space in the Flash/ SD card

Step 1 check the remaining space

Execute the dir command in the user view to check the remaining space in the Flash/ SD card and verify that there is enough remaining space in the Flash/ SD card to accommodate the system software to be upgraded.

The following is an example of a device using a Flash card.

Dir flash:/

Directory of flash:/

Idx Attr Size (Byte) Date Time (LMT) FileName

0-rw- 69129984 Apr 23 2011 13:51:47 AR1220-S-V200R007C00SPCc00.cc

1-rw- 1738816 Apr 23 2011 13:55:29 web.zip

2-rw- 396 Apr 23 2011 13:55:32 rsa_host_key.efs

3-rw- 540 Apr 23 2011 13:55:52 rsa_server_key.efs

1929520 KB total with 1860311 KB free

If the Free space is larger than the size of the upgrade target version of the system software, there is enough space. Otherwise, you need to delete files that you do not need to use (perform step 2).

Step 2 delete files that you do not need to use

If the remaining space is less than the size of the target version of the system software, you need to delete files that you do not need to use.

System software (ending with ".cc"), configuration file (ending with ".cfg" or ".zip"), License file (ending with ".dat"), please confirm that you do not need to use it before deleting.

Execute the following command in the user view to delete files that are not needed on the Flash/ SD card.

Files deleted using the delete command will be saved to the Recycle Bin, files in the Recycle Bin can be recovered using the undelete command, and files saved to the Recycle Bin will still take up Flash/ SD card space. The reset recycle-bin command deletes all files in the Recycle Bin, which are permanently deleted and cannot be restored.

Or use the delete / unreserved command to completely delete the file, which is equivalent to executing the delete command before the reset recycle-bin command.

# Delete redundant files on the current Flash/ SD card.

Delete flash:/iascfg1.zip

Delete flash:/iascfg1.zip? (YBO) [n]: y

Info: Deleting file flash:/iascfg1.zip...succeed.

# Files deleted to the Recycle Bin can be recovered using the following command.

Undelete flash:/iascfg1.zip

Undelete flash:/iascfg1.zip? [Y/N]: y

% Undeleted file flash:/iascfg1.zip.

# execute the following command to completely delete the useless files in the Recycle Bin.

Reset recycle-bin flash:

# execute the following command to delete the file directly and completely, and the file will not enter the Recycle Bin.

Delete / unreserved flash:/iascfg1.zip

-the end.

Reference:

Latest version:

Http://support.huawei.com/enterprise/zh/software/22057058-SW1000200937

Introduction to the upgrade steps:

Http://support.huawei.com/enterprise/zh/doc/DOC1000123576?idPath=7919710|21432787|7923148|22318636|9039730

The chapter "4 upgrade through the command line" in the upgrade steps document has a complete introduction to the steps.

If you are prompted to download or view insufficient permissions, follow these steps to upgrade your permissions and download

Register an account on the official website and upgrade your permissions. For more information, please refer to: http://support.huawei.com/enterprise/enhanceMyPrivilege

Note: 1) the device serial number (SN) is usually on the surface of the device, with a 20-bit code starting with 21.

2) if you want to know the progress of the audit, you can provide the website account number and serial number to the mailbox: e.support@huawei.com reminds website maintenance staff to deal with it as soon as possible.

Display cu

Display logbuffer

Display interface

Display inspect black-box

Etc.

6642

It may be a software problem, because the data processing flow of the old version of the current new business may not be optimized.

In this way, a lot of resources will be consumed, and the processing process will be optimized after the upgrade.

OK, I'll try to upgrade first. No problem has been found now. If this still happens after the upgrade, how should I deal with it?

If it still doesn't work after the upgrade, you should contact the expert group to ask. The SN number has been found from the information just now. The inquiry has been guaranteed and the problem list cannot be established directly. It can only be dealt with through the dealer.

Ask the expert group through the dealer? Is that what it means?

Right

Can I use the command of the crt login device? First click File > logging in the upper left corner of crt

6642

Change the path to the desktop and click Save

6642

Then enter display diag on the command line

6642

It will show a lot of content.

6642

These will be recorded in the file that just logged the path.

6642

When the collection is finished, this will be provided below. I'll show you here.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report