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

Reminder

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

upgrade

Configuration Guide - Basic Configuration

S1720, S2700, S5700, and S6720 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, 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.  
    NOTE:
    • 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 logfile-2013-01-24-09-15-03.zip  
    Delete flash:/logfile/logfile-2013-01-24-09-15-03.zip?[Y/N]:y                      
    Info: Deleting file flash:/logfile/logfile-2013-01-24-09-15-03.zip...succeeded. 
    # Delete log files from the absolute path of the flash memory.
    <HUAWEI> delete flash:/logfile/logfile-2013-01-24-09-15-03.zip  
    Delete flash:/logfile/logfile-2013-01-24-09-15-03.zip?[Y/N]:y                      
    Info: Deleting file flash:/logfile/logfile-2013-01-24-09-15-03.zip...succeeded. 
Translation
Download
Updated: 2019-10-21

Document ID: EDOC1000178166

Views: 257157

Downloads: 1948

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