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


To have a better experience, please upgrade your IE browser.


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 the undo Command Line

Using the undo Command Line

If a command line begins with the keyword undo, it is an undo command line. The undo command lines restore default settings of parameters, disable functions, or delete configurations. Almost each configuration command line has a corresponding undo command.

Some examples of using the undo command are listed as follows:

  • The undo command restores the default setting.

    The sysname command sets a device host name. For example:

    <Huawei> system-view
    [Huawei] sysname Server
    [Server] undo sysname
  • The undo command disables a specified function.

    The ftp server enable command enables the FTP server function on the device. For example:

    <Huawei> system-view
    [Huawei] ftp server enable
    Info: Succeeded in starting the FTP server 
    [Huawei] undo ftp server
    Info: Succeeded in closing the FTP server.
  • The undo command deletes a specified configuration.

    The header command configures the header information displayed on terminals when users log in. For example:

    <Huawei> system-view
    [Huawei] header login information "Hello,Welcome to Huawei!"

    Log out of the terminal and re-log in. A message "Hello, Welcome to Huawei!" is displayed before authentication. Run the undo header login command.

    Hello,Welcome to Huawei!
    Login authentication
    <Huawei> system-view
    [Huawei] undo header login

    Log out of the terminal and re-log in. No message is displayed before authentication.

    Login authentication

The command output provided here is used for reference only. The actual output information may differ from the preceding information.

Updated: 2019-11-21

Document ID: EDOC1100034066

Views: 85490

Downloads: 476

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