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

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).
Overview of Fast Provisioning

Overview of Fast Provisioning

The fast provisioning function enables sub-interfaces on a device to automatically learn configuration information such as the VLAN, IP address, and data link connection identifier (DLCI) from a peer device.

When a large number of devices need to be configured in a USB-based deployment scenario, the configuration takes much manpower and time if you need to prepare different configuration files for each device. You can add configuration information about the fast provisioning function in the configuration file used for USB-based deployment. Sub-interfaces on a device to be configured then can automatically learn and save configuration information such as the VLAN, IP address, and DLCI from a peer device.

Fast Provisioning Implementation

Table 7-1  Sub-interfaces supporting the fast provisioning function and the function implementation



Ethernet sub-interface: supports the fast provisioning function only in a scenario where packets carry one VLAN tag.

After the fast provisioning function is enabled on an Ethernet sub-interface, the peer device broadcasts ARP packets in the VLAN before sending ping packets. The automatic learning function of the sub-interface is triggered when the device to be configured finds that the difference between the last byte of the source IP address and that of the destination IP address is one in the ping packets. The sub-interface learns the VLAN information in ARP Request packets and obtains the destination IP address in the packets as the IP address of the sub-interface.


If the peer device does not broadcast ARP packets, automatic learning is not triggered on Ethernet sub-interfaces on the local device.

The fast provisioning function cannot be enabled simultaneously on two or more sub-interfaces in the same LAN.

  • If a sub-interface has been configured with an IP address, the IP address learned automatically by the sub-interface overwrites the original IP address after the fast provisioning function is enabled.

  • The fast provisioning function enabled globally and on interfaces will be disabled 1 hour later after the automatic learning function is triggered on a sub-interface. If the device restarts within 1 hour, the fast provisioning function will not be automatically disabled 1 hour later. In this case, the fast provisioning function can only be disabled using the undo fast provisioning enable command.

  • If the fast provisioning function is enabled on multiple sub-interfaces on a device to be configured, the automatic learning function is triggered on the sub-interfaces in ascending order of sub-interface numbers. For example, the fast provisioning function is enabled on the sub-interfaces GE1/0/0.1 and GE1/0/0.2 of a device. When the ping and ping commands are run in sequence on the peer device, GE1/0/0.1 and GE1/0/0.2 automatically learn the IP addresses and respectively.

The preceding sub-interfaces learn the mask length according to the ToS value in ping packets. The Table 7-2 describes the mapping between ToS values and mask lengths.

Table 7-2  Mapping between ToS values and mask lengths

ToS Value

Mask Length















Other values


As shown in Figure 7-1, RouterA needs to be configured and is connected to RouterB through VLAN11.

Figure 7-1  Fast provisioning implementation
  1. Load the fast provisioning configuration to RouterA using USB-based deployment. Enable the fast provisioning function on GE1/0/0.1 of RouterA.

  2. Send ping packets from RouterB. Set the destination IP address of ping packets to and the ToS value to 224. Because the ARP table on RouterB does not contain a MAC address corresponding to, RouterB broadcasts ARP Request packets in VLAN11.

  3. After receiving ARP Request packets sent by RouterB, RouterA finds that the source IP address is and the destination IP address is in the packets. The automatic learning function is triggered on RouterA. RouterA learns the VLAN information in the ARP Request packets and uses the destination IP address in the packets as the sub-interface IP address. RouterA then sends ARP Reply packets to RouterB. RouterB sends ping packets after it receives the ARP Reply packets. RouterA uses the ToS value in the ping packets to learn the sub-interface mask length. The ToS value in this example is 224 and the mask length is 24 according to Table 7-2. GE1/0/0.1 on RouterA automatically learns and saves the following configuration information:
    interface GigabitEthernet1/0/0.1                                                
     dot1q termination vid 11                                                       
     ip address                                            
Updated: 2019-05-20

Document ID: EDOC1100034225

Views: 44518

Downloads: 100

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