Site icon Cunostinte si Experienta

upgrade huawei quidway s2300

Pentru versiunea Huawei V100R006C03

Pentru versiunea Huawei V100R006C05 – care are si web management

O sa aveți nevoie de următoarele fișiere (este ultima versiune care o aveam la momentul respectiv):

S2300EI-V100R006C03.cc

S2300EI-V100R006C03.web.zip

– Odată intrat din terminal pe switch:

-verificam versiunea switch-ului huawei:

display version

– adaugăm user de ftp

<Quidway> system-view
[Quidway] ftp server enable
[Quidway] aaa
[Quidway-aaa] local-user ftpuser password simple ftppwd
[Quidway-aaa] local-user ftpuser service-type ftp
[Quidway-aaa] local-user ftpuser ftp-directory flash:/
[Quidway-aaa] return

– acum verificam sau adaugăm ip

[Quidway] display ip interface brief

– dacă avem ip intram din Windows în el din cmd prompt, dacă nu setam noul ip

– Mergem în locația unde se afla totul și rulam comanda:

cd C:\huawei
ftp 192.168.1.23

– Acum se introduce userul ftpuser și parola ftppwd si urcam fișierul:

put S2300EI-V100R006C03.cc

Urcam și web pentru a avea interfața web:

put S2300EI-V100R006C03.web.zip

– acum facem upgrade-ul din terminal consola:

<Quidway>startup system-software S2300EI-V100R006C03.cc
Warning: Basic BOOTROM will be upgraded. Continue?(Y/N)[N]: y
Upgrading BOOTROM,please wait for a moment…

Info: BOOTROM UPGRADE OK
The new version is  148. Please restart to validate the upgrade.

Info: BOOTROM UPGRADE OK

Info: Succeeded in setting the software for booting system.

– facem upgrade și la boot-rom:

>system-view
[Quidway]upgrade basic-bootrom S2300EI-V100R006C03.cc
Warning: Basic BOOTROM will be upgraded. Continue?(Y/N)[N]: y
Upgrading BOOTROM,please wait for a moment…
Info: BOOTROM UPGRADE OK
The new version is  148. Please restart to validate the upgrade.
Info: BOOTROM UPGRADE OK

– și dam restart:

[Quidway]quit
>reboot
Info: The system is now comparing the configuration, please wait.
Warning: All the configuration will be saved to the configuration file for the n
ext startup:flash:/vrpcfg.zip, Continue?[Y/N]:y
Now saving the current configuration to the slot 0 .
Info: Save the configuration successfully.
System will reboot! Continue?[Y/N]:y

– verificam versiunea sa fim siguri ca și-a luat upgrade:

>display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.70 (S2300 V100R006C03)
Copyright (C) 2003-2011 HUAWEI TECH CO., LTD
Quidway S2318TP-EI Routing Switch uptime is 0 week, 0 day, 0 hour, 1 minute
EDFE 0(Master) : uptime is 0 week, 0 day, 0 hour, 0 minute
64M bytes DDR Memory
16M bytes FLASH
Pcb      Version :  VER B
Basic  BOOTROM  Version :  148 Compiled at Jun 26 2012, 18:45:31
Software Version : VRP (R) Software, Version 5.70 (V100R006C03)

– Acum pornim interfața web, și rulam din consola:

[Quidway>system-view
Enter system view, return user view with Ctrl+Z.
[Quidway]http server load S2300EI-V100R006C03.web.zip
Info: The loading process may take a few seconds, please wait…
Info: Succeeded in loading web file.

– acum trebuie sa cream useri de web:

[Quidway>system-view
Enter system view, return user view with Ctrl+Z.
[Quidway]http server enable
Info: Starting the HTTP server successfully.

[Quidway-aaa]local-user admin password cipher parola
[Quidway-aaa]local-user admin service-type http

– Done.. acum avem interfața web din care putem da ping / traceroute

 

 

O sa aveți nevoie de următoarele fișiere:

S2300EI-V100R006C05

S2300EI-V100R006C05.web

– preventiv dacă vreți și pentru orice eventualitate golim toată configurația, și dam un reboot fără sa salvam ce rulează pentru a porni pe curat și liniștit – asta e opțional:

reset saved-configuration

– mai întâi vedem ce fișiere avem pe switch:

dir

– și va zice ceva de genul:

>dir
Directory of flash:/
Idx  Attr     Size(Byte)  Date        Time(LMT)  FileName
0  -rw-        107,176  Mar 31 2008 05:57:14   matnlog.dat
1  -rw-            102  Mar 31 2008 05:57:16   $_patchstate_a
2  -rw-            626  Jan 01 2008 00:00:48   private-data.txt
3  -rw-      6,463,980  Mar 31 2008 05:57:48   s2300-v100r005c01spc100.cc
4  -rw-            396  Nov 11 2013 10:46:27   hostkey
5  -rw-            540  Nov 11 2013 10:46:36   serverkey
6  -rw-              0  Jan 01 2008 00:08:44   vrpcfg.cfg
7  -rw-            949  Jan 01 2008 00:40:39   vrpcfg.zip
8  -rw-      6,573,748  Nov 11 2013 11:40:11   s2300ei-v100r006c03.cc
9  -rw-        565,486  Nov 11 2013 11:47:00   s2300ei-v100r006c03.web.zip
14,632 KB total (1,192 KB free)

– acum ștergem tot ce nu ne interesează (nu va lasă el oricum sa ștergem ceva important:

delete /unreserved s2300-v100r005c01spc100.cc

– și vom da Y la întrebare și va rezulta:

>delete /unreserved s2300-v100r005c01spc100.cc
Warning: The contents of file flash:/s2300-v100r005c01spc100.cc cannot be recycled. Continue? [Y/N]:y
Info: Deleting file flash:/s2300-v100r005c01spc100.cc………..succeeded.

verificam versiunea:

display version

– adaugăm user de ftp

system-view
ftp server enable
aaa
local-user ftpuser password cipher ftppwd
local-user ftpuser privilege level 5
local-user ftpuser service-type ftp
local-user ftpuser ftp-directory flash:/
return

– acum verificam sau adaugăm ip

display ip interface brief

– dacă avem ip intram din Windows în el din cmd prompt, dacă nu setam noul ip

– Mergem în locația unde se afla totul și rulam comanda:

cd C:\huawei
 ftp 192.168.1.23

– Acum se introduce userul ftpuser și parola ftppwd si urcam fișierul:

put S2300EI-V100R006C05.cc

– Urcam și web pentru a avea interfața web:

put S2300EI-V100R006C05.web.zip
 bye

– Acum ne intoarcem pe huawei si stergem userul ftp

aaa
 undo local-user ftpuser
 return

– acum facem upgrade-ul din terminal consola:

startup system-software S2300EI-V100R006C05.cc

– si va zice ceva de genul:

Warning: Basic BOOTROM will be upgraded. Continue?(Y/N)[N]: y
Upgrading BOOTROM,please wait for a moment…
Info: BOOTROM UPGRADE OK
The new version is  148. Please restart to validate the upgrade.
Info: BOOTROM UPGRADE OK
Info: Succeeded in setting the software for booting system.

– facem upgrade și la boot-rom:

system-view
 upgrade basic-bootrom S2300EI-V100R006C05.cc

– si va zice ceva de genul:

Warning: Basic BOOTROM will be upgraded. Continue?(Y/N)[N]: y
Upgrading BOOTROM,please wait for a moment…
Info: BOOTROM UPGRADE OK
The new version is  148. Please restart to validate the upgrade.
Info: BOOTROM UPGRADE OK

– și dam restart:

quit
 reboot
 Info: The system is now comparing the configuration, please wait.
 Warning: All the configuration will be saved to the configuration file for the n
 ext startup:flash:/vrpcfg.zip, Continue?[Y/N]:y
 Now saving the current configuration to the slot 0 .
 Info: Save the configuration successfully.
 System will reboot! Continue?[Y/N]:y

– verificam versiunea sa fim siguri ca și-a luat upgrade:

display version

– și va zice:

 Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.70 (S2300 V100R006C05)
Copyright (C) 2003-2013 HUAWEI TECH CO., LTD
Quidway S2318TP-EI Routing Switch uptime is 0 week, 0 day, 0 hour, 1 minuteEDFE 0(Master) : uptime is 0 week, 0 day, 0 hour, 1 minute
64M bytes DDR Memory
16M bytes FLASH
Pcb      Version :  VER B
Basic  BOOTROM  Version :  149 Compiled at Mar 15 2013, 11:02:25
Software Version : VRP (R) Software, Version 5.70 (V100R006C05)

– Acum pornim interfața web, și rulam din consola:

system-view
 http server load S2300EI-V100R006C05.web.zip
Info: The loading process may take a few seconds, please wait…
Info: Succeeded in loading web file.

– acum trebuie sa cream useri de web, si deoarece suntem disperati, lasam doar pe https:

http secure-server enable
Info: Succeeded in starting the HTTP secure server.
aaa
local-user admin password cipher parola
 local-user admin service-type http

– Done.. acum avem interfața web din care putem da ping / traceroute deschizând ip-ul switch-ului în browser și folosind user și parola setate mai sus.

 

 

 

Ultimele știri huawei:

    No feed items found.

Exit mobile version