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

Typical Configuration Examples

SD-WAN V100R018C00

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).
USB-based Deployment

USB-based Deployment

Related Products

Agile Controller-Campus: V300R003C00

AR: V300R003C00

Networking Requirements

An enterprise wants to deploy several branch sites, as shown in Figure 2-1. Information about CPEs that serve as gateways of the branch sites is ready. It is time-consuming and labor-intensive if software engineers go to the branch sites to deploy the CPEs site by site. The enterprise requires a method to quickly deploy the branch sites in a batch through easy operations without requiring high software commissioning skills.

Figure 2-1 Enterprise networking

Solution Design

If multiple CPEs need to be deployed and the CPE model and ESN information are available, you can deploy the CPEs in a batch using USB-based deployment at a location where most CPEs are located, and then assign the CPEs to the sites for installation and deployment. The following example describes how to use USB-based deployment to deploy Site2.

  1. The tenant administrator creates a branch site, Site2, on the Agile Controller-Campus, completes the ZTP configuration for Site2, and downloads the ZTP file.
  2. The tenant administrator uses the IniConverter.exe tool to convert the ZTP file into a configuration file suffixed with .ini, creates the index file USB_AR.ini, and sends the configuration file and index file to the deployment engineer.
  3. The deployment engineer saves the received configuration file and index file to the root directory of the USB flash drive and starts the CPEs for USB-based deployment.

Data Plan

Table 2-1 Global network parameters

Item

Value

URL encryption key

123456

Table 2-2 Site template for new branch sites

Item

Value

Template name

Site2

Description

-

Gateway

Single Gateway

WAN Link

Name

Internet

Device

Device1

Interface

GE0/0/1

Transport Network

Internet

Role

Active

Table 2-3 Basic device information

Device ESN

Device Name

2102351BTJ10H1000015

Site2_1

2102351BTJ10H1000008

Site3_1

2102351BTJ10H1000022

Site3_2

2102351BTJ10H1000013

Site4_1

2102351BTJ10H1000014

Site4_2

Table 2-4 ZTP configuration for new branch sites

Item

Value

Link name

Internet

Interface protocol

IPoE

IP address access mode

Static

IP address/Subnet mask

10.100.12.1/24

Default gateway

10.100.12.254

Negotiation mode

Auto

Uplink bandwidth (Mbps)

100

Downlink bandwidth (Mbps)

100

Procedure

  1. Create branch sites and complete the ZTP configuration on the Agile Controller-Campus as a tenant administrator.

    1. Log in to the Agile Controller-Campus as a tenant administrator.
    2. Choose Configuration > Global Parameters and set global network parameters.
    3. If no required site template is available in the system, create a site template for creating branch sites.
      1. Choose Configuration > Site > Template. On the Site Template page that is displayed, click Create.
      2. Enter the template information.

    1. Add devices in a batch based on their ESNs and use them as the CPE gateways for the new branch sites.
      1. Choose Device Management > Device List. The Device List page is displayed.
      2. Click Add Device and set Addition method to Batch import.
      3. Click Template to download the template file.
      4. Fill in the template with required information and save the file.
      5. Click , select the configured template file, and click Upload.
      6. Confirm the imported data, select the data to be created for CPEs, and click OK.

    2. Create a branch site.
      1. Choose Configuration > Site.
      2. Enter the site information, and select the site template configured in the previous step. For a branch site, you need to select the hub site to which it connects.
      3. Under Add Device, select the devices added in the above.
      4. Click OK.

    3. Complete the ZTP configuration for the new branch site and download the ZTP file.
      1. Configure the WAN links.
        1. Choose Configuration > Site > ZTP Configuration. The ZTP Configuration page is displayed.
        2. In the Not Activated list, click a created site. The WAN Link page displays link information.
        3. Click in the Operation column in the right pane. In the displayed dialog box, set WAN link parameters and then click Apply Changes on the main page.

    4. Complete the NTP configuration.

      Select the time zone used by the old branch site, and click Apply Changes.

    5. After completing the ZTP configuration, click Download ZTP File and save the file as a ZTP_xxx.csv file.
    6. Complete the underlay and overlay network configurations for the branch site. For details, see section Example for Building an SD-WAN Network for an Enterprise Tenant.

  2. Make a configuration file and an index file as a tenant administrator.

    1. Drag the downloaded ZTP_xxx.csv file to the IniConverter.exe tool.
    2. Set Password to the value of URL encryption key, which has been set on the Global Parameters page.
    3. Click Generate ini file, and save the configuration file as ZTP.ini.
    4. Create a text file named USB_AR.ini and edit the index file.

      During USB-based deployment, the device where the USB flash drive is installed matches the ESN field of CONFIG in the index file. If a match is found, the configuration file in the USB flash drive is copied.

      BEGIN AR 
      [USB CONFIG] 
      SN=20180408.070632 
      EMS_ONLINE_STATE=NO 
      [UPGRADE INFO] 
      OPTION=AUTO 
      DEVICENUM=1           
      [DEVICE1 DESCRIPTION] 
      OPTION=OK 
      ESN=DEFAULT 
      MAC=DEFAULT 
      VERSION=DEFAULT 
      DIRECTORY=DEFAULT 
      FILENUM=1 
      TYPE1=SYSTEM-CONFIG 
      FILENAME1=ZTP.ini  
      END AR

  3. Perform USB-based deployment as a deployment engineer.

    1. Save the received configuration file and index file to the root directory of the USB flash drive.
    2. Power on the CPEs. After the CPEs are started successfully, retain their factory settings.
    1. Insert the prepared USB flash drive to the USB port on a CPE. The CPE automatically starts the USB-based deployment process.

      During the deployment, a CPE obtains the configuration file from the USB flash drive based on the description in the index file and saves it to the default storage medium. The CPE then determines whether its ESN is the same as that in the index file. If so, it saves the configuration to the configuration file for next startup. If not, this CPE does not replace its configuration file.

    2. Observe the USB indicator on the device to determine the progress of USB-based deployment. After USB-based deployment is successful, remove the USB flash drive. The USB-based deployment ends.
      • If the indicator is steady green, USB-based deployment is successful.
      • If the indicator is blinking green, USB-based deployment is ongoing.
      • If the indicator is steady red, USB-based deployment fails.

  4. Verify the deployment result.

    • The tenant administrator checks whether the CPE status is Normal on the Agile Controller-Campus.

      Choose Device Management > Device List. On the Device List page that is displayed, find the target CPE. If Status displays Normal, the CPE has been deployed successfully and registered with the Agile Controller-Campus.

    • If an AR650 or AR1600 series router is deployed as a CPE, check the CTRL indicator status on the AR. If the indicator is steady on, the AR has been successfully deployed and registered with the Agile Controller-Campus.

Precautions

  • During USB-based deployment, the SN in the index file used to deploy a CPE must be different from the default USB-based deployment flag of the CPE.

    The SN in an index file is a unique flag for USB-based deployment. A device has a default USB-based deployment flag. If there is the USB_AR.ini file in the USB flash drive, the device checks whether the default USB-based deployment flag and the SN in the USB_AR.ini file are the same. If they are the same, the device does not start USB-based deployment. If they are different, the device starts USB-based deployment and starts with the deployment files specified in the USB flash drive. If the deployment succeeds, the default USB-based deployment flag on the device is changed to the SN in the USB_AR.ini file.

Translation
Download
Updated: 2019-03-04

Document ID: EDOC1100036696

Views: 17986

Downloads: 116

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