참고 :이 웹 사이트에는 접근성 시스템이 포함되어 있습니다. Control-F11을 눌러 화면 판독기를 사용하는 시각 장애인에 맞게 웹 사이트를 조정하십시오. Control-F10을 눌러 접근성 메뉴를 엽니 다.

How to install firmware on a Lenovo switch running CNOS using Recovery Mode

How to install firmware on a Lenovo switch running CNOS using Recovery Mode

How to install firmware on a Lenovo switch running CNOS using Recovery Mode

Description

This article introduces the procedure used to upgrade a Lenovo switch running CNOS using Recovery Mode. This method should be used if the normal CLI methods are not working, or if corrupted files need to be replaced.

Requirements

  • Console access to the switch
  • The management port needs network access to a TFTP server

Procedure

  1. While the switch is powered off, connect to the switch using the console option on your terminal emulator.
  2. Power the switch on, and then hold shift and press R to enter Recovery Mode.
    Note: You will only have a couple seconds to hit the key combination before the switch
  3. Enter T, and then press Enter to select Configure networking and tftp download an image.
    Loading recovery image...
    starting version 3.2.2

    Running filesystem check.....
    Filesystem verified
    Creating system key
    Creating system development key
    Entering Rescue Mode.
    Please select one of the following options:
    T) Configure networking and tftp download an image
    U) Install image from USB stick
    F) Filesystem Menu
    I) Select which image to boot
    C) Reset configuration to factory default
    Z) Reset the Network Administrator (admin) password
    B) Reset the password required to enter privileged exec mode
    R) Reboot
    E) Exit

    Option? : T
  4. You will be prompted to enter the Host IP (Management port IP), Host Subnet Mask, Gateway IP, Server IP (TFTP Server IP), and Filename (.img file).
    Note: For this example, the Host IP is 10.10.10.2, the Host Subnet Mask is 255.255.255.0, the Gateway IP is 10.10.10.1, the Server IP is 10.10.10.1, and the Filename is NE0152T-CNOS-10.10.5.0.imgs.
    Performing TFTP rescue. Please answer the following questions (enter 'q' to quit):
    IP addr :10.10.10.2
    Netmask :255.255.255.0
    Gateway :10.10.10.1
    Server addr:10.10.10.1
    Image Filename: NE0152T-CNOS-10.10.5.0.imgs
    Netmask : 255.255.255.0
    Gateway : 10.10.10.1
    Configuring management port.......................
    Installing image NE0152T-CNOS-10.10.5.0.imgs from TFTP server 10.10.10.1

    Extracting images ... Do *NOT* power cycle the switch.
    Installing C-NOS application: Creating system key
    Image signature verified. Install image as image 1 or 2 (q to quit): 1
    Installing image as image1: Preparing image for installation: 100%
    decompressing image...
    Installing image: 100%
    Cleaning up partition........
    Image1 updated succeeded
    Updating install logs
    Updating install logs
    Installing Boot Loader: Creating system key
    Image signature verified. 100%
    Installing GRUB and secure shim boot loaders...
    Done
    Updating install logs
  5. Enter R to Reboot.
    Please select one of the following options:
    T) Configure networking and tftp download an image
    U) Install image from USB stick
    F) Filesystem Menu
    I) Select which image to boot
    C) Reset configuration to factory default
    Z) Reset the Network Administrator (admin) password
    B) Reset the password required to enter privileged exec mode
    R) Reboot
    E) Exit

    Option? : R

Additional Resources

문서 ID:HT511591
최초 게시 날짜:12/18/2020
최종 수정일:11/16/2023