Cisco IOS 업데이트

  • Cisco - IOS 업데이트로 빠졌습니다 - Qiita
  • Cisco - L2SW에 IP를 구성하는 최단 단계 - Qiita

  • 참조.

    참고


  • 소프트웨어 업그레이드 절차 - Cisco Systems
  • 아이무노 진망상 페이지 ~노노큐브 ~Cisco 기기의 FAQ집

  • 준비



    Mac에서 tftp 서버 시작 - Qiita 를 끝낸다.

    IOS를 다운로드합니다.
  • Download Software - Cisco Systems





  • 플래시 영역에 복사


  • Mac의 IP를 192.168.100.103으로 한다.
  • #copy tftp: flash:
    Address or name of remote host [192.168.100.103]?
    Source filename [cat3k_caa-universalk9.SPA.03.03.05.SE.150-1.EZ5.bin]?
    Destination filename [cat3k_caa-universalk9.SPA.03.03.05.SE.150-1.EZ5.bin]?
    Accessing tftp://192.168.100.103/cat3k_caa-universalk9.SPA.03.03.05.SE.150-1.EZ5.bin...
    Loading cat3k_caa-universalk9.SPA.03.03.05.SE.150-1.EZ5.bin from 192.168.100.103 (via Vlan110): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    [OK - 257651868 bytes]
    
    257651868 bytes copied in 1360.900 secs (189325 bytes/sec)
    

    1360.900

    23분이 걸렸다.

    플래시 영역 확인


    #dir flash:
    Directory of flash:/
    
     7746  -rw-    79121160  Aug 13 2014 18:09:32 +09:00  cat3k_caa-base.SPA.03.03.03SE.pkg
     7747  -rw-     6484668  Aug 13 2014 18:09:33 +09:00  cat3k_caa-drivers.SPA.03.03.03SE.pkg
     7748  -rw-    34522096  Aug 13 2014 18:09:32 +09:00  cat3k_caa-infra.SPA.03.03.03SE.pkg
     7749  -rw-    34821452  Aug 13 2014 18:09:33 +09:00  cat3k_caa-iosd-universalk9.SPA.150-1.EZ3.pkg
     7750  -rw-    25131920  Aug 13 2014 18:09:32 +09:00  cat3k_caa-platform.SPA.03.03.03SE.pkg
     7751  -rw-    77312832  Aug 13 2014 18:09:33 +09:00  cat3k_caa-wcm.SPA.10.1.130.0.pkg
     7752  -rw-        1248  Aug 13 2014 18:09:44 +09:00  packages.conf
     7753  -rw-     2097152   Nov 4 2014 10:34:06 +09:00  nvram_config
     7754  -rw-         916   Nov 4 2014 09:06:01 +09:00  vlan.dat
     7755  -rw-   257651868   Nov 7 2014 15:07:35 +09:00  cat3k_caa-universalk9.SPA.03.03.05.SE.150-1.EZ5.bin
    
    1621966848 bytes total (1101815808 bytes free)
    
    cat3k_caa-universalk9.SPA.03.03.05.SE.150-1.EZ5.bin 가 있는지 확인.

    파일 확인
    # verify flash:cat3k_caa-universalk9.SPA.03.03.05.SE.150-1.EZ5.bin
    Digital signature successfully verified in package cat3k_caa-base.SPA.03.03.05SE.pkg
    Digital signature successfully verified in package cat3k_caa-infra.SPA.03.03.05SE.pkg
    Digital signature successfully verified in package cat3k_caa-platform.SPA.03.03.05SE.pkg
    Digital signature successfully verified in package cat3k_caa-iosd-universalk9.SPA.150-1.EZ5.pkg
    Digital signature successfully verified in package cat3k_caa-wcm.SPA.10.1.150.0.pkg
    Digital signature successfully verified in package cat3k_caa-drivers.SPA.03.03.05SE.pkg
    Digital signature successfully verified in file flash:cat3k_caa-universalk9.SPA.03.03.05.SE.150-1.EZ5.bin
    

    구성 레지스터 설정


  • 모든 Cisco 라우터에서 구성 레지스터 사용 - Cisco Systems
  • #show ver | include register
    Configuration register is 0x102
    

    0x2102로 설정
    #conf t
    (config)#config-register 0x2102
    (config)#^Z
    

    부트 변수 확인
    #show ver | include register
    
  • 이번에는 출력 없음.

  • 부트 변수 설정
    #conf t
    (config)#no boot system
    (config)#boot system flash:cat3k_caa-universalk9.SPA.03.03.05.SE.150-1.EZ5.bin
    (config)#^Z
    

    부트 변수 확인
    #show run | include boot system
    boot system switch all flash:cat3k_caa-universalk9.SPA.03.03.05.SE.150-1.EZ5.bin
    

    설정 저장
    #write memory
    Building configuration...
    Compressed configuration from 5968 bytes to 2645 bytes[OK]
    

    재부팅
    #reload
    Reload command is being issued on Active unit, this will reload the whole stack
    Proceed with reload? [confirm]
    Connection closed by foreign host.
    

    기동까지 5분은 걸리므로 기장에 기다린다.

    버전 확인



    업데이트 전
    #show ver
    Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.03.03SE RELEASE SOFTWARE (fc2)
    

    업데이트 후
    #show ver
    Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.03.05.SE RELEASE SOFTWARE (fc1)
    

    현재 설정값 확인


    #show ver | include register
    Configuration register is 0x102
    #show run | include boot system
    boot system switch all flash:cat3k_caa-universalk9.SPA.03.03.05.SE.150-1.EZ5.bin
    

    tar 형식 upload


  • Cisco 장치 관리 - Catalyst 스위치 - archive 명령으로 IOS 다운로드
  • archive upload-sw http://192.168.100.98/c2960-lanbasek9-tar.122-55.SE11.tar
    

    좋은 웹페이지 즐겨찾기