네트워크 이야기(cisco 등)

IOS 업그레이드(카타리스트 9400)

깐돌런 2022. 7. 18. 22:37

*supervisor 부팅의 2가지 유형

1. install mode: package.conf 를 이용한 부팅

                         .bin 파일이 메모리에 압축해제되어 운영(RAM에 적재되지 않으므로, RAM 여유 공간 확보의 장점이 있음)

 

2. Bundle mode: 전통적인 부팅 방법(.bin 파일을 이용한 부팅)

                           .bin파일이 RAM에 적재되므로, RAM 공간 소모

참고: https://notes.networklessons.com/ios-install-mode-vs-bundle-mode

 

NetworkLessons.com - Networking in Plain English

NetworkLessons.com teaches you everything about Cisco R&S, Security, Wireless and Linux. Great Courses, Lessons and Learning Material.

notes.networklessons.com

 

 

*Inatall mode 로 IOS 업그레이드

참고: https://www.cisco.com/c/en/us/support/docs/ip/trivial-file-transfer-protocol-tftp/212470-catalyst-9400-upgrading-dual-supervisor.html

 

Catalyst 9400: Upgrade Dual Supervisors to Cisco IOS? XE version 16.6.2

This document describes the upgrade procedure from version 16.6.1 to 16.6.2.

www.cisco.com

주의: Supervisor Module이 두개일 경우, 작업전에 하나를 제거한다.(보통 Secondray를 제거)
Step 1. Remove Unwanted Packages(선택사항) :Flash에 저장공간이 부족할 때, 사용하지 않는 이미지 파일을 삭제  
Switch#install remove inactive​

Step 2. Copy New Image to Flash
copy tftp: bootflash:

Step 3. Check Boot Statement
Switch#show boot​

boot statement가 bin으로 되어 있으면, 반드시 packages.conf 로 변경해야 한다.

Switch(config)#no boot system                        
Switch(config)#boot system bootflash:packages.conf

비고: #show boot 로 확인 시, "MANUAL_BOOT variable = no ( 시스템이 auto boot 로 설정된 상태)

 

Step 4. Software Install Image to Flash
Switch#install add file bootflash:cat9k_iosxe.16.06.02.SPA.bin activate commit

Step 5. Verify New Packages and Image After Upgrade
Switch#dir bootflash:*.pkg​

Step 6. Check Version and New Bootloader
Switch#show version

비고: Secondary Supervisor 모듈도 동일하게 작업한다.(단, 작업 전에, 반드시 Main Supervisor 모듈을 제거한다.)