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).
Comparing Configuration Files

Comparing Configuration Files


You can compare the current configuration file with the next startup configuration file to check whether they are consistent and determine whether to set the current configuration file as the next startup configuration file.

The system displays the different content starting from the first different character to the end of the file. By default, the system displays 120 characters. If the different content contains less than 120 characters, the system displays only the content from the first different character to the end of the file.

If the next startup configuration file is unavailable or empty, the system displays a message indicating that the files fail to be read.


The configuration file name extension must be .cfg or .zip.


  • Run compare configuration [ configuration-file [ current-line-number save-line-number ] ]

    The system starts to check whether the current configurations are identical with the next startup configuration file or the specified configuration file.

    If parameters are not specified, the configuration files are compared from the first line. The parameters current-line-number and save-line-number are used to continue the comparison, neglecting the differences, after differences are found.

Updated: 2019-08-08

Document ID: EDOC1100034066

Views: 83703

Downloads: 468

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