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.

Configuration Guide - Basic Configuration
S7700 and S9700 V200R011C10

This document describes methods to use command line interface and to log in to the device, file operations, and system startup configurations.

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
How Do I Delete Files?

How Do I Delete Files?

Run the delete [ /unreserved ] [ /quiet ] { filename | devicename } [ all ] command to delete specified files including system files, configuration files, patch files, license files, and log files from a storage medium.

  • Delete a file from the storage medium.
    <HUAWEI> delete test.txt
    Delete cfcard:/test.txt?[Y/N]:y                      
    Info: Deleting file cfcard:/test.txt...succeeded.  
    • The actual output information may differ from the preceding information.
    • The all parameter is supported only in a cluster. If all is specified, you can delete all the files in the corresponding path from the master and slave MPUs in batches.
    • Do not delete running version files (including system software, patch files, web page files, and configuration files) in the CLI. You can use the BootROM menu to delete running version files. After a version file is deleted, the device cannot restart using the version file. Exercise caution when you delete a version file.
    • The switch supports the CF card and the flash memory. The default storage medium is the CF card. The switch supports only the flash memory when the main control card is SRUH, SRUE.
  • Log files are stored in the logfile directory of the CF card. You can access the logfile directory and then delete log files, or directly delete log files from the absolute path of the CF card.

    # Access the logfile directory and then delete log files.
    <HUAWEI> cd logfile/
    <HUAWEI> delete  
    Delete cfcard:/logfile/[Y/N]:y                      
    Info: Deleting file cfcard:/logfile/ 
    # Delete log files from the absolute path of the CF card.
    <HUAWEI> delete cfcard:/logfile/  
    Delete cfcard:/logfile/[Y/N]:y                      
    Info: Deleting file cfcard:/logfile/ 
Updated: 2020-02-04

Document ID: EDOC1000178308

Views: 109003

Downloads: 152

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next