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

S12700 V200R013C00 Configuration Guide - Basic Configuration

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, ISSU Configuration, 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).
Overview of the File System

Overview of the File System

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.

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:
    • flash: root directory of the flash memory on the master MPU.
    • slave#flash: root directory of the flash memory on the slave MPU. If no slave MPU or no flash is available, this drive is unavailable.
    drive of devices in a CSS can be set to:
    • flash: root directory of the flash memory on the master MPU.
    • 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 the file name, path indicates the directory and subdirectory. The directory name is case-insensitive. Spaces and the following characters cannot be used in the directory name: ~ * / \ : ' "

    Paths are either absolute or relative. The relative path is related to the root directory or the current working directory. A relative path starting 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.

    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 (flash:/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-04-08

Document ID: EDOC1100065643

Views: 10905

Downloads: 35

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