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

CLI-based Configuration Guide - Basic Configuration

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the Basic configuration supported by the device.
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.

Procedure

  1. View files and subdirectories in the current directory.

    <Huawei> system-view
    [Huawei] sysname Switch
    [Switch] quit
    <Switch> dir
    Directory of flash:/
    
      Idx  Attr     Size(Byte)  Date        Time(LMT)  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
    ...
    1,927,220 KB total (1,130,464 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
    Info: Create directory flash:/test......Done.

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

    <Switch> copy vrpcfg.zip flash:/test/backup.zip 
    Copy flash:/vrpcfg.zip to flash:/test/backup.zip?[Y/N]:y
    100%  complete
    Info: Copied file flash:/vrpcfg.zip to flash:/test/backup.zip...Done.

    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
    flash:/test

    # View files in the test directory.

    <Switch> dir
    Directory of flash:/test/
    
      Idx  Attr     Size(Byte)  Date        Time(LMT)  FileName
        0  -rw-          2,399  Mar 12 2012 11:16:44   backup.zip
    
    1,927,220 KB total (1,130,460 KB free)

Configuration File

Configuration file of the Switch

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

Document ID: EDOC1100034066

Views: 90466

Downloads: 487

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