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

AR500, AR510, AR531, AR550, AR1500, and AR2500 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
    [Huawei]
  • 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
    
    
    Password:
    <Huawei> system-view
    [Huawei] undo header login
    

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

    Login authentication
    
    
    Password:
    <Huawei> 
NOTE:

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

Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034225

Views: 44946

Downloads: 100

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