Bemærk: Dette websted indeholder et tilgængelighedssystem. Tryk på Control-F11 for at justere hjemmesiden til synshandicappede, der bruger en skærmlæser; Tryk på Control-F10 for at åbne en tilgængelighedsmenu.

How to upgrade a Lenovo switch running ENOS using the CLI

How to upgrade a Lenovo switch running ENOS using the CLI

How to upgrade a Lenovo switch running ENOS using the CLI

Description

This article introduces the procedure used to upgrade a Lenovo switch running ENOS using the CLI.

Solution

  1. Establish a connection to the switch and enter privileged mode.
    RS G8124-E>enable

    Enable privilege granted.
    RS G8124-E#

     
  2. Using the copy command and a selected transfer protocol, copy the Boot.imgs file to the boot-image.
    Note: For the examples in this article, TFTP will be used to transfer the file from TFTP server IP 10.10.10.1. The filename will be G8124-8.4.22.0_Boot.imgs.
    RS G8124-E#copy tftp boot address 10.10.10.1 filename G8124-8.4.22.0_Boot.imgs mgta-port

    boot kernel currently contains Software Version 8.4.22
    New download will replace boot kernel with file "G8124-8.4.22.0_Boot.imgs"
    from SFTP/FTP/TFTP server 10.10.10.1.
    Connecting via MGTA port.
    Confirm download operation (y/n) ? y
    Starting download...
    File appears valid
    Download in progress
    ....................................................................................................................
    Valid image detected.
    Boot image (Kernel, 8298375 bytes) download complete.
    Writing to flash...This can take up to 90 seconds. Please wait
    ................
    Kernel Sector now contains Software Version 8.4.22
    Boot image (FS, 8298375 bytes) download complete.
    Writing to flash...This can take up to 90 seconds. Please wait
    ........................................
    FS Sector now contains Software Version 8.4.22
    Boot image (Boot, 8298375 bytes) download complete.
    Writing to flash...This can take up to 90 seconds. Please wait
    ........
    Boot Sector now contains Software Version 8.4.22
    RS G8124-E#

     
  3. Using the copy command and a selected transfer protocol, copy the OS.imgs file to image1 or image 2.
    Note: Using the show boot command, you can determine what image is currently loaded. You should then choose the other image. For this example, the image will be copied to image2. The filename will be G8124-8.4.22.0_OS.imgs.
    RS G8124-E#copy tftp image2 address 10.10.10.1 filename G8124-8.4.22.0_OS.imgs mgta-port

    image2 currently contains Software Version 8.4.22
    that was downloaded at 15:44:09 Mon Nov 16, 2020.
    New download will replace image2 with file "G8124-8.4.22.0_OS.imgs"
    from SFTP/FTP/TFTP server 10.10.10.1.
    Connecting via MGTA port.
    Confirm download operation (y/n) ? y
    Starting download...
    File appears valid
    Download in progress
    .................................................................................................................................
    Valid image detected.
    Image download complete (9247165 bytes)
    Writing to flash...This takes about 90 seconds. Please wait
    .......................................................................
    Write complete (9247165 bytes), now verifying FLASH...
    Verification of new image2 in FLASH successful.
    image2 now contains Software Version 8.4.22

    File processed

     
  4. When complete, the switch will prompt you to change the boot image to the new image.
    Switch is currently set to boot software image1.
    Do you want to change that to the new image2? [y/n] y
    Next boot will use new software image2.

    RS G8124-E#

     
  5. Restart the switch to apply the image.
    RS G8124-E#reload

    Reset will use software "image2" and the active config block.
    >> Note that this will RESTART the Spanning Tree,
    >> which will likely cause an interruption in network service.
    Confirm reload (y/n) ? y

Additional Resources

Dokument-id:HT511557
Original offentliggørelsesdato:12/09/2020
Dato for sidste ændring:09/16/2024