No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


How to manage remote updates when sufficient storage space is not available

Publication Date:  2016-10-31 Views:  552 Downloads:  0
Issue Description

When a device software needs to be updated and there is not enough free storage space available, the only method available in the upgrade guide is to use the BootROM in order to delete the old software file.

However, the BootROM is only accessible via the console port, which is not normally available in remote management.

Handling Process

Several scenarios were tested and to determine which methods can be applied in a remote management session for upgrading the software successfully.

  1. Use a terminal or comm server
    Risk of solution: Non-risk operation

    A terminal server, for example an AR router with 8AS, 1SA, or 2SA boards, can connect directly to the device Console using asynchronous serial ports and the Reverse Telnet function.
    This will provide access to the BootROM menu where the user can delete the startup system software and download a new software package from a network FTP server.
    A terminal server will also allow access to the device in case the upgrade fails and remote troubleshooting is required.

  2. Delete redundant files
    Risk of solution: Non-risk operation

    In many situations it is possible to ensure sufficient free space by simply deleting files that are not required for normal device operation.
    - Delete all patch files; use patch deactive all to disable any loaded patches and patch delete all should delete patch files from the system.
    - Delete web portal files  (for example S5300EI-V200R003C00.001.web.7z)
    - Delete logs from logfile or syslogfile and resetinfo folders
    It is recommended to make backups on an FTP server and make note of the device name and SN in case the logs are needed for any future troubleshooting
    - Use the command reset recycle-bin to permanently delete files from the recycle bin

    Tip: use delete /unreserved to bypass the recycle-bin

  3. Delete the current system software
    Risk of solution: Risky operation

    Most devices do not allow the user to delete the next startup system software.
    The following diagnostic command can be used to unload the system software, which will allow the user to delete the software file remotely:
    [Huawei] diagnose
    [Huawei-diagnose] undo startup system-software
    [Huawei-diagnose] return
    <Huawei> delete /unreserved

    The device will continue to run with the software loaded in RAM, and the user can proceed to upload a new version.
    Warning: if the upgrade fails or there is a power outage or if the device is rebooted accidentally without a new software package installed, it will become inoperable.

Always read the complete upgrade guide and pay special attention to configuration changes that may need to be performed when switching from one version to another.
An incompatible configuration or login information will lead to the device becoming unresponsive or inaccessible.