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

S7700 and S9700 V200R010C00

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).
File System Overview

File System Overview

File System

The file system manages files and directories on storage media. In the file system, you can create, delete, modify, and rename files or directories, and view file contents.

Storage Medium

The switch supports the flash memory and CF card. The switch supports only the flash memory when the main control card is SRUH /SRUE.

Naming Rules for Files

The value is a string of case-insensitive characters without spaces. The file name formats are as follows:

  • File name

    A file resides in the current working directory if the file name is in this format. The length of the file name ranges from 1 to 64.

  • Drive + Path + File name

    This file name format uniquely identifies files in specified paths. The length of the file name ranges from 1 to 64 and the total length of the path and file name ranges from 1 to 160.

    In this format, drive indicates the storage medium and is set to:
    • cfcard: root directory of the CF card on the master MPU. If no CF card is available, this drive is unavailable.
    • flash: root directory of the flash memory on the master MPU.
    • slave#cfcard: root directory of the CF card on the slave MPU. If no slave MPU or CF card is available, this drive is unavailable.
    • slave#flash: root directory of the flash memory on the slave MPU. If no slave MPU or flash is available, this drive is unavailable.
    drive of devices in a CSS can be set to:
    • cfcard: root directory of the CF card on the master MPU.
    • flash: root directory of the flash memory on the master MPU.
    • chassis ID/slot number#cfcard: root directory of the CF card on a device in a CSS.
    • chassis ID/slot number#flash: root directory of the flash memory on a device in a CSS.

      For example, 1/14#flash indicates the flash memory whose chassis ID is 1 and slot number is 14.

    In a file name, path indicates the directory and subdirectory. A directory name is case-insensitive. Spaces and the following characters cannot be used in a directory name: ~ * / \ : ' "

    Paths are either absolute or relative. A relative path is related to a root directory or current working directory. A relative path starting with a slash (/) is related to a root directory.
    • cfcard:/my/test/ is an absolute path.

    • /selftest/ is related to a 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 cfcard:/my/test/mytest.txt command, cfcard:/my/test/ is an absolute path.

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

    Run the dir test/mytest.txt command to find the mytest.txt file from a directory related to the current working directory (cfcard:/my/ for example).

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

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

Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000141895

Views: 57937

Downloads: 214

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