본문 바로가기
네트워크

[네트워크] 시스코(Cisco) USB로 OS 업그레이드 방법! 로그 까지 총 정리

by 시스코킹 2020. 9. 4.
반응형

시스코(Cisco) 장비 USB를 이용한 OS 업그레이드 방법 정리!

 

시스코(Cisco) 장비 USB를 이용한 OS 업그레이드 방법 정리

 

-사용장비: C9300-48P (다른 시스코 장비들도 방법은 비슷합니다.) 

 

-OS업그레이드 순서

기존 버전확인-> USB장착-> USB에 들어있는 OS를 Flash로 Copy-> Copy 잘됬는지 확인-> 부트시스템을 Copy OS로 변경-> 재부팅-> 버전확인-> 저장

 

0. 기존 버전확인 

(생략) 

 

1. USB 장착 <- 장착됬다고 로그가 뜸

 

2. Switch# copy usbflash0:(cat9300_iosxe.16.09.03.SPA.bin) flash:   <- USB 들어있는 OS를 Flash로 Copy

Destination filename [cat9300_iosxe.16.09.03.SPA.bin]? 

Copy in progress...CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

...쭉 뜸!

701945494 bytes copied in 141.865 secs (4947982 bytes/sec)

         

Switch#dir flash:  <- 플래쉬에 잘 카피됬는지 목록을 확인

Directory of flash:/

 

155650  -rw-          2097152  Dec 18 2019 06:57:02 +00:00  nvram_config

155651  -rw-          2097152  Dec 18 2019 06:57:02 +00:00  nvram_config_bkup

155652  -rw-         27231232  Oct 21 2019 15:11:43 +00:00  cat9k-cc_srdriver.16.09.04.SPA.pkg

155653  -rw-         81241084  Oct 21 2019 15:11:43 +00:00  cat9k-espbase.16.09.04.SPA.pkg

155654  -rw-          1647612  Oct 21 2019 15:11:43 +00:00  cat9k-guestshell.16.09.04.SPA.pkg

155655  -rw-        425411576  Oct 21 2019 15:11:44 +00:00  cat9k-rpbase.16.09.04.SPA.pkg

155656  -rw-         28931068  Oct 21 2019 15:11:44 +00:00  cat9k-sipbase.16.09.04.SPA.pkg

155657  -rw-         55047160  Oct 21 2019 15:11:44 +00:00  cat9k-sipspa.16.09.04.SPA.pkg

155658  -rw-         35243004  Oct 21 2019 15:11:44 +00:00  cat9k-srdriver.16.09.04.SPA.pkg

155659  -rw-         15856632  Oct 21 2019 15:11:44 +00:00  cat9k-webui.16.09.04.SPA.pkg

155660  -rw-             9208  Oct 21 2019 15:11:44 +00:00  cat9k-wlc.16.09.04.SPA.pkg

155661  -rw-             6648  Oct 21 2019 15:11:44 +00:00  packages.conf

155662  -rw-         34612458  Oct 21 2019 15:11:44 +00:00  cat9k-rpboot.16.09.04.SPA.pkg

204801  drwx             4096  Dec 18 2019 06:55:42 +00:00  .installer

155663  -rw-              185  Dec 18 2019 06:55:43 +00:00  bootloader_evt_handle.log

212993  drwx             4096  Oct 21 2019 15:19:58 +00:00  core

221185  drwx             4096  Oct 21 2019 15:13:53 +00:00  .prst_sync

237569  drwx             4096  Oct 21 2019 15:14:04 +00:00  .rollback_timer

245761  drwx             4096  Oct 21 2019 15:14:04 +00:00  gs_script

253953  drwx             4096  Oct 21 2019 15:14:05 +00:00  tech_support

253972  drwx             4096  Dec 18 2019 06:55:56 +00:00  dc_profile_dir

155664  -rw-              321  Dec 18 2019 06:55:57 +00:00  boothelper.log

155665  -rw-           123888  Dec 18 2019 06:56:07 +00:00  memleak.tcl

262145  drwx             4096  Oct 21 2019 15:20:35 +00:00  .dbpersist

155667  -rw-              865  Dec 18 2019 06:56:44 +00:00  rdope_out.txt

270337  drwx             4096  Oct 21 2019 15:19:38 +00:00  onep

155668  -rw-               89  Dec 18 2019 06:56:43 +00:00  rdope.log

155673  -rw-                0  Dec 18 2019 06:56:44 +00:00  dope_hist

155669  -rw-               35  Dec 18 2019 06:57:56 +00:00  pnp-tech-time

155670  -rw-            73206  Dec 18 2019 06:58:00 +00:00  pnp-tech-discovery-summary

155671  -rw-        701945494  Dec 18 2019 07:04:42 +00:00  cat9300_iosxe.16.09.03.SPA.bin  <-  잘들어가있음

         

11353194496 bytes total (9334476800 bytes free)

         

컨피그 모드로 들어 가서~

Switch(config)#boot system flash:(cat9300_iosxe.16.09.03.SPA.bin)  <- 부트를 이걸로 하게 바꿔주기

Switch(config)#exit

 

*Dec 18 07:10:37.472: %SYS-5-CONFIG_I: Configured from console by console

Switch#reload  <- 리로드 해주기

 

System configuration has been modified. Save? [yes/no]: y

Building configuration...

[OK]Reload command is being issued on Active unit, this will reload the whole stack

Proceed with reload? [confirm]

 

*Dec 18 07:11:22.101: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.

                                                                                                Chassis 1 reloading, reason - Reload command

        Dec 18 07:11:27.605: %PMAN-5-EXITACTION: F0/0: pvp: Process manager is exiting: reload fp action requested

Dec 18 07:11:28.987: %PMAN-5-E

 

Initializing Hardware...

 

System Bootstrap, Version 16.9.1r [FC2], RELEASE SOFTWARE (P)

Compiled Tue 05/29/2018 14:59:59.99 by rel

 

Current ROMMON image : Primary

Last reset cause     : SoftwareReload

C9300-48P platform with 8388608 Kbytes of main memory

 

boot: attempting to boot from [flash:cat9300_iosxe.16.09.03.SPA.bin]

boot: reading file cat9300_iosxe.16.09.03.SPA.bin   <- 이걸로 부팅중

########################################################################################################################################################################################################################################################################################################################################################################################################

계속 뜸

 

Dec 18 07:13:57.824: %PMAN-5-EXITACTION: C0/0: pvp: Process manager is exiting:

MM [1] MCU version 123 sw ver 129

MM [2] MCU version 123 sw ver 129

 

 

Front-end Microcode IMG MGR: found 4 microcode images for 1 device.

Image for front-end 0: /tmp/microcode_update/front_end/fe_type_6_0 update needed: no

Image for front-end 0: /tmp/microcode_update/front_end/fe_type_6_1 update needed: yes

Image for front-end 0: /tmp/microcode_update/front_end/fe_type_6_2 update needed: yes

Image for front-end 0: /tmp/microcode_update/front_end/fe_type_6_3 update needed: no

 

Front-end Microcode IMG MGR: Preparing to program device microcode...

Front-end Microcode IMG MGR: Preparing to program device[0], index=0 ...594412 bytes.... Skipped[0].

Front-end Microcode IMG MGR: Preparing to program device[0], index=1 ...408882 bytes.

Front-end Microcode IMG MGR: Programming device 0...rwRrrrrrrw..0%..........................................................................10%............................................................................20%............................................................................30%............................................................................40%............................................................................50%............................................................................60%............................................................................70%............................................................................80%............................................................................90%............................................................................100%

Front-end Microcode IMG MGR: Preparing to program device[0], index=2 ...25186 bytes.

Front-end Microcode IMG MGR: Programming device 0...rrrrrrw..0%....10%....20%......30%...40%......50%....60%......70%...80%......90%....100%wRr!

Front-end Microcode IMG MGR: Microcode programming complete for device 0.

Front-end Microcode IMG MGR: Preparing to program device[0], index=3 ...90974 bytes.... Skipped[3].

Front-end Microcode IMG MGR: Microcode programming complete in 299 seconds

 

Both links down, not waiting for other switches

Switch number is 1

 

              Restricted Rights Legend

 

Use, duplication, or disclosure by the Government is

subject to restrictions as set forth in subparagraph

(c) of the Commercial Computer Software - Restricted

Rights clause at FAR sec. 52.227-19 and subparagraph

(c) (1) (ii) of the Rights in Technical Data and Computer

Software clause at DFARS sec. 252.227-7013.

 

           Cisco Systems, Inc.

           170 West Tasman Drive

           San Jose, California 95134-1706

 

 

 

Cisco IOS Software [Fuji], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 16.9.3, RELEASE SOFTWARE (fc2)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2019 by Cisco Systems, Inc.

Compiled Wed 20-Mar-19 08:02 by mcpre

 

 

 

PLEASE READ THE FOLLOWING TERMS CAREFULLY. INSTALLING THE LICENSE OR

LICENSE KEY PROVIDED FOR ANY CISCO SOFTWARE PRODUCT, PRODUCT FEATURE,

AND/OR SUBSEQUENTLY PROVIDED SOFTWARE FEATURES (COLLECTIVELY, THE

"SOFTWARE"), AND/OR USING SUCH SOFTWARE CONSTITUTES YOUR FULL

ACCEPTANCE OF THE FOLLOWING TERMS. YOU MUST NOT PROCEED FURTHER IF YOU

ARE NOT WILLING TO BE BOUND BY ALL THE TERMS SET FORTH HEREIN.

 

Your use of the Software is subject to the Cisco End User License Agreement

(EULA) and any relevant supplemental terms (SEULA) found at

http://www.cisco.com/c/en/us/about/legal/cloud-and-software/software-terms.html.

 

You hereby acknowledge and agree that certain Software and/or features are

licensed for a particular term, that the license to such Software and/or

features is valid only for the applicable term and that such Software and/or

features may be shut down or otherwise terminated by Cisco after expiration

of the applicable license term (e.g., 90-day trial period). Cisco reserves

the right to terminate any such Software feature electronically or by any

other means available. While Cisco may provide alerts, it is your sole

responsibility to monitor your usage of any such term Software feature to

ensure that your systems and networks are prepared for a shutdown of the

Software feature.

 

 

 

FIPS: Flash Key Check : Key Not Found, FIPS Mode Not Enabled

cisco C9300-48P (X86) processor with 1419496K/6147K bytes of memory.

Processor board ID

2048K bytes of non-volatile configuration memory.

8388608K bytes of physical memory.

1638400K bytes of Crash Files at crashinfo:.

11264000K bytes of Flash at flash:.

15633376K bytes of USB Flash at usbflash0:.

0K bytes of WebUI ODM Files at webui:.

 

Base Ethernet MAC Address         

Motherboard Assembly Number        :

Motherboard Serial Number         

Model Revision Number             

Motherboard Revision Number       

Model Number                       : C9300-48P

System Serial Number               :

 

 

%INIT: waited 0 seconds for NVRAM to be available

 

 

 

Press RETURN to get started!

 

 

 

Switch#show version   <- 바뀐 버전 확인!

Cisco IOS XE Software, Version 16.09.03

Cisco IOS Software [Fuji], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 16.9.3, RELEASE SOFTWARE (fc2)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2019 by Cisco Systems, Inc.

Compiled Wed 20-Mar-19 08:02 by mcpre

 

 

Cisco IOS-XE software, Copyright (c) 2005-2019 by cisco Systems, Inc.

All rights reserved.  Certain components of Cisco IOS-XE software are

licensed under the GNU General Public License ("GPL") Version 2.0.  The

software code licensed under GPL Version 2.0 is free software that comes

with ABSOLUTELY NO WARRANTY.  You can redistribute and/or modify such

GPL code under the terms of GPL Version 2.0.  For more details, see the

documentation or "License Notice" file accompanying the IOS-XE software,

or the applicable URL provided on the flyer accompanying the IOS-XE

software.

 

 

ROM: IOS-XE ROMMON

BOOTLDR: System Bootstrap, Version 16.9.1r [FC2], RELEASE SOFTWARE (P)

 

Switch uptime is 0 minutes

 --More--

*Dec 18 07:19:39.566: %PLATFORM_PM-6-FRULINK_INSERTED: 8x10G uplink module inserted in the switch 1 slot 1

*Dec 18 07:19:46.674: %CALL_HOME-6-CALL_HOME_ENABLED: Call-home is enabled by Smart Agent for Licensing.

*Dec 18 07:19:46.674: %SMART_LIC-5-COMM_RESTORED: Communications with the Cisco Smart Software Manager or satellitUptime for this control processor is 6 minutes

System returned to ROM by Reload Command

System image file is "flash:cat9300_iosxe.16.09.03.SPA.bin"  <- 바뀜

Last reload reason: Reload Command

         

 

 

This product contains cryptographic features and is subject to United

States and local country laws governing import, export, transfer and

use. Delivery of Cisco cryptographic products does not imply

third-party authority to import, export, distribute or use encryption.

Importers, exporters, distributors and users are responsible for

compliance with U.S. and local country laws. By using this product you

agree to comply with applicable laws and regulations. If you are unable

to comply with U.S. and local laws, return this product immediately.

 

A summary of U.S. laws governing Cisco cryptographic products may be found at:

http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

 

If you require further assistance please contact us by sending email to

export@cisco.com.

 

     

 

 

Smart Licensing Status: UNREGISTERED/EVAL MODE

 

cisco C9300-48P (X86) processor with 1419496K/6147K bytes of memory.

Processor board ID 

1 Virtual Ethernet interface

52 Gigabit Ethernet interfaces

8 Ten Gigabit Ethernet interfaces

2 TwentyFive Gigabit Ethernet interfaces

2 Forty Gigabit Ethernet interfaces

2048K bytes of non-volatile configuration memory.

8388608K bytes of physical memory.

1638400K bytes of Crash Files at crashinfo:.

11264000K bytes of Flash at flash:.

15633376K bytes of USB Flash at usbflash0:.

0K bytes of WebUI ODM Files at webui:.

 

Base Ethernet MAC Address          :

Motherboard Assembly Number       

Motherboard Serial Number          

Model Revision Number              :

Motherboard Revision Number       

Model Number                       : C9300-48P

System Serial Number            

 

 

Switch Ports Model              SW Version        SW Image              Mode  

------ ----- -----              ----------        ----------            ----  

*    1 64    C9300-48P          16.9.3            CAT9K_IOSXE           BUNDLE   <- 잘 바뀜

 

 

Configuration register is 0x102

 

Switch#wr  <-저장

Building configuration...

[OK]

 

ARSKRB0010#show boot  <- 어떤 걸로 부트되는지 확인

---------------------------

Switch 1

---------------------------

Current Boot Variables:

BOOT variable = flash:cat9300_iosxe.16.09.03.SPA.bin;

 

Boot Variables on next reload:

BOOT variable = flash:cat9300_iosxe.16.09.03.SPA.bin;

Manual Boot = no

Enable Break = yes

Boot Mode = DEVICE

iPXE Timeout = 0

 

완료

 

이상 시스코(Cisco) USB를 이용한 OS 업그레이드 방법 이었습니다.

 

반응형

댓글