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).
Example of Logging In to the Device to Manage Files

Example of Logging In to the Device to Manage Files

Networking Requirements

After logging in to the device through the console interface, Telnet, or STelnet, perform the following operations:

  • View files and subdirectories in the current directory.
  • Create the test directory, copy the vrpcfg.zip file to test, and rename vrpcfg.zip as backup.zip.
  • View files in the test directory.
Figure 7-2  Networking diagram for logging in to the switch for file operations

Procedure

  1. View files and subdirectories in the current directory.

    <HUAWEI> system-view
    [HUAWEI] sysname Switch
    [Switch] quit
    <Switch> dir
    Directory of cfcard:/
    
      Idx  Attr     Size(Byte)  Date        Time       FileName
        0  -rw-            889  Mar 01 2012 14:41:56   private-data.txt
        1  -rw-          6,311  Feb 17 2012 14:05:04   backup.cfg
        2  -rw-          2,393  Mar 06 2012 17:20:10   vrpcfg.zip
        3  -rw-            812  Dec 12 2011 15:43:10   hostkey
        4  drw-              -  Mar 01 2012 14:41:46   compatible
        5  -rw-            540  Dec 12 2011 15:43:12   serverkey
    ...
    509,256 KB total (52,752 KB free)

  2. Create the test directory, copy the vrpcfg.zip file to test, and rename vrpcfg.zip as backup.zip.

    # Create the test directory.

    <Switch> mkdir test
    

    # Copy the vrpcfg.zip file to test and rename vrpcfg.zip as backup.zip.

    <Switch> copy vrpcfg.zip /test/backup.zip 
    NOTE:

    If no target file name is specified, the source file and target file have the same name.

  3. View files in the test directory.

    # Access the test directory.

    <Switch> cd test

    # View the current working directory.

    <Switch> pwd
    cfcard:/test

    # View files in the test directory.

    <Switch> dir
    Directory of cfcard:/test/
    
      Idx  Attr     Size(Byte)  Date        Time       FileName
        0  -rw-          2,399  Mar 12 2012 11:16:44   backup.zip
    
    509,256 KB total (52,748 KB free)

Configuration File

Switch configuration file

#
sysname Switch
#
return
Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000141895

Views: 57976

Downloads: 214

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