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

S2720, S5700, and S6720 V200R013C00

This document describes the configurations of Basic, including CLI Overview, EasyDeploy Configuration, USB-based Deployment Configuration, Logging In to a Device for the First Time, CLI Login Configuration, Web System Login Configuration, File Management, Configuring System Startup, BootLoad Menu Operation.
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, such as 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 flash:/test.txt?[Y/N]:y                      
    Info: Deleting file flash:/test.txt...succeeded.  
    • The actual output information may differ from the preceding information.
    • The all parameter is supported only in a stack. When this parameter is specified, the command deletes all the files in the corresponding directories on all member devices in a batch.
    • Do not delete running version files (including system software, patch files, web page files, and configuration files) in the CLI. To delete such files, use the BootROM menu. After a version file is deleted, the device cannot restart using the version file. Exercise caution when you delete a version file.
  • Log files are stored in the logfile or syslogfile directory of the flash memory. You can access the logfile or syslogfile directory and then delete log files, or directly delete log files from the absolute path of the flash memory.

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

Document ID: EDOC1100066063

Views: 32726

Downloads: 688

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next