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.


CX11x, CX31x, CX710 (Earlier Than V6.03), and CX91x Series Switch Modules V100R001C10 Configuration Guide 12

The documents describe the configuration of various services supported by the CX11x&CX31x&CX91x series switch modules The description covers configuration examples and function 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).
File System Overview

File System Overview

The file system manages storage devices and all files including configuration files and system software stored on them.

File System

The file system manages files and directories on storage devices. In the file system, users can create, delete, modify, and rename a file or a directory, and view contents of a file.

Storage Device

The device supports the flash card.

Naming Rules for Files

A file name is a string of 1 to 255 case-sensitive characters without spaces. The file name formats are as follows:

  • File name

    If the name of a file is in this format, the file is in the current working directory.

  • Drive + Path + File name

    This file name format uniquely identifies a file in a specified path.

    In the format, drive indicates the storage device and can be set to flash:.

    drive of devices in a stack can be set to:
    • flash: root directory of the flash card of the master switch on a device in a stack.
    • stack ID#flash: root directory of the flash card in a slot on a device in a stack.

      For example, slot2#flash: indicates the flash card in slot 2.

    In the file name, path indicates the directory and subdirectory. The directory name is case-sensitive. The space character and the following characters and cannot be used in the directory name: ~ * / \ : ' "

    The path can be an absolute path or relative path. The relative path is related to the root directory or the current working directory. A relative path beginning with a slash (/) is related to the root directory.
    • flash:/my/test/ is an absolute path.

    • /selftest/ is related to the root directory and indicates the selftest directory in the root directory.

    • selftest/ is related to the current working directory and indicates the selftest directory in the current working directory.

    For example, in the dir flash:/my/test/mytest.txt command, flash:/my/test/ is an absolute path.

    To find the mytest.txt file from a directory related to the root directory, run the dir /my/test/mytest.txt command.

    To find the mytest.txt file from a directory related to the current working directory (flash:/my/ for example), run the dir test/mytest.txt command.

    • In the file operation command format, filename indicates the file name.

    • In the file operation command format, directory indicates the path (drive + path).

File List Information

Run the dir command to view information about files.

<HUAWEI> dir
Directory of flash:/

  Idx  Attr     Size(Byte)  Date        Time       FileName                     
    0  drwx              -  Mar 03 2013 03:44:28   $_checkpoint                 
    1  -rw-    104,517,153  Mar 02 2013 18:22:18                
    2  drwx              -  Mar 03 2013 03:42:52   POST                     
    3  -rw-             14  Mar 03 2013 03:45:32   SysResTemplate.ini           
    4  -rw-         16,781  Mar 03 2013 03:41:39   device.sys                   
    5  drwx              -  Jan 19 2012 09:54:13   logfile                      
    6  drwx              -  Feb 27 2013 04:44:53   lost+found
    7  -rw-         33,036  Mar 03 2013 03:41:39   vrpcfg.cfg                   

670,092 KB total (569,904 KB free)
Table 1-50 lists information about files queried through the dir command.
Table 1-50 File information




Directory for storing configuration rollback point information.


Software version file.


Directory for storing hardware self-test information when the system starts.


System forwarding resource template, which exists in the user directory after the forwarding mode is set in the system.


System hardware configuration file.


Directory for storing log information:
  • diag.log: detailed logs of key events and exceptions
  • log.log: logs of operations and key events


Directory for storing information about the damaged file in the file management module recovered by the system during abnormal restart.


System configuration file.

Updated: 2019-08-09

Document ID: EDOC1000041694

Views: 58547

Downloads: 3621

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