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).
Using Command Line Online Help

Using Command Line Online Help

When using a command line, you can use the online help to obtain real-time help without memorizing a large number of complex commands.

When entering command lines, you can enter a question mark (?) at any time to obtain online help. You can choose to obtain full help or partial help.

Full Help

When entering a command, you can use the full help function to obtain keywords and parameters for the command. Use any of the following methods to obtain full help from a command line.

  • Enter a question mark (?) in any command view to obtain all the commands and their simple descriptions. For example:
    <Huawei> ?
    User view commands:
      arp-ping       ARP-ping
      autosave       <Group> autosave command group
      backup         Backup  information
      cd             Change current directory
      clear          Clear
      clock          Specify the system clock
      cls            Clear screen
      compare        Compare configuration file
      copy           Copy from one file to another
    ...
  • Enter some keywords of a command and a question mark (?) separated by a space. All keywords associated with this command, as well as simple descriptions, are displayed. For example:
    <Huawei> system-view
    [Huawei] user-interface vty 0 4
    [Huawei-ui-vty0-4] authentication-mode ?
      aaa       AAA authentication
      password  Authentication through the password of a user terminal interface
    [Huawei-ui-vty0-4] authentication-mode aaa ?
      <cr>  Please press ENTER to execute command
    [Huawei-ui-vty0-4] authentication-mode aaa
    • "aaa" and "password" are keywords. "AAA authentication" and "Authentication through the password of a user terminal interface" describe the keywords respectively.

    • <cr> indicates that there is no keyword or parameter in this position. You can press Enter to run this command.

  • Enter some keywords of a command and a question mark (?) separated by a space. All parameters associated with this keyword, as well as simple descriptions, are listed. For example:
    <Huawei> system-view
    [Huawei] ftp timeout ?
      INTEGER<1-35791>  The value of FTP timeout (in minutes) 
    [Huawei] ftp timeout 35 ?
      <cr>  Please press ENTER to execute command
    [Huawei] ftp timeout 35

    "INTEGER<1-35791>" describes the value range of the parameter. "The value of FTP timeout (in minutes)" briefly describes the function of this parameter.

Partial Help

If you enter only the first or first several characters of a command keyword, partial help provides keywords that begin with this character or character string. Use any of the following methods to obtain partial help from a command line.

  • Enter a character string followed directly by a question mark (?) to display all keywords that begin with this character string. For example:

    <Huawei> d?
      debugging  <Group> debugging command group
      delete     Delete a file
      dialer     Dialer
      dir        List files on a filesystem
      display    Display information 
    <Huawei> d
  • Enter a command and a string followed directly by a question mark (?) to display all the keywords that begin with this string. For example:

    <Huawei> display b?
      bfd               Specify BFD(Bidirectional Forwarding Detection)
                        configuration information
      bgp               BGP information
      binding           Display binding relation of profile
      bridge            <Group> bridge command group
  • Enter the first several letters of a keyword in a command and press Tab to display a complete keyword. The first several letters, however, must uniquely identify the keyword. If they do not identify a specific keyword, press Tab continuously to display different keywords and you can select one as required.
NOTE:

The command output obtained through the online help function is used for reference only.

Translation
Download
Updated: 2019-08-08

Document ID: EDOC1100034066

Views: 84496

Downloads: 474

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