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

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).
Example for Configuring SMS-based Deployment

Example for Configuring SMS-based Deployment

Networking Requirements

In Figure 5-20, eSight (with a built-in SFTP server) is deployed in the enterprise headquarters. Dispersed branch devices connect to eSight through 3G/LTE dial-up.

The enterprise requires that branch devices are upgraded by onsite installation personnel when a large number of branch devices are geographically dispersed and difficult to obtain wired resources. Meanwhile, allow the mobile phone number with that segment 456789 matches this number segment to send short messages for SMS-based deployment. During deployment, devices can connect to the enterprise network over a 3G/LTE network, and enterprise network administrators can deploy devices through eSight.

Figure 5-20  Configuring SMS-based deployment
The following provides SIM card information and device information of RouterA.
  • SIM card information: The IMSI is 987456321012345, the mobile phone number is 135XXXXXXXX, the APN is 3gnet, the dial-up user name is admin, and the dial-up password is huawei123.

    NOTE:

    SIM card information can be obtained from carriers.

  • Device information: The device type is AR151 and the device ESN is 2102310CXK10B6000183.

eSight information and file server information are as follows:
  • eSight: The eSight server IP address is 10.1.2.3/24 and the port number is 32176.
  • File server: The SFTP server IP address is 10.1.2.4/24 and the port number is 31922.

Configuration Roadmap

The configuration roadmap is as follows:
  1. Save the configuration file to be loaded to branch devices to the SFTP server to ensure that the devices can obtain the configuration file.

  2. Operate eSight, make a configuration template.

  3. Operate eSight, edit deployment short messages.

  4. Configure SMS-based deployment.

  5. Configure a mobile phone number whiltelist to allow configuring devices through mobile phone numbers in the whitelist.

  6. Disable SMS-based deployment to prevent unauthorized users from modifying device configurations using forged deployment short messages.

Procedure

  1. Save the configuration file to be loaded to branch devices to the SFTP server.
  2. Make a configuration template.
    1. Log in to eSight, and choose Resource > Protocol Template > SNMP Template. The SNMP Template page is displayed. Click Create to create an SNMP template, as shown in Figure 5-21. Set the SNMP version type to SNMPv3, authentication protocol to HMAC_SHA, and privacy protocol to AES_128, and configure other parameters according to service requirements. Click OK to save the configuration.

      Figure 5-21  Creating an SNMP template

    2. Choose Configuration > Zero Touch Provisioning > Configuration File Making > Make Configuration Template. Click Create, and set Template Name, Device Type, and SNMP parameters, as shown in Figure 5-22.

      Figure 5-22  Making a configuration template (1)

    3. Click Next and set ZTP Type to Config File. Click OK to save the configuration, as shown in Figure 5-23.

      Figure 5-23  Making a configuration template (2)

  3. Configure SIM card information and short message parameters.
    1. Choose Configuration > Zero Touch Provisioning > Short Message-based Provisioning > Manage SIM Card. The Manage SIM Card page is displayed. Click Batch Import to import SIM card information in a batch. Click to select the template file to be uploaded. Click to upload the template file. After the template file has been uploaded, view the import results under Detail. Click Create to finish batch import, as shown in Figure 5-24.

      Figure 5-24  Batch import

    2. Choose Short Message-based Provisioning > Manage Short Message. The Manage Short Message page is displayed. Click Create and enter short message parameter information in the displayed dialog box. Click OK to save the configuration, as shown in Figure 5-25.

      Figure 5-25  Creating short messages

  4. Configure SMS-based deployment.
    1. Choose Short Message Deployment > Create. The Short Message Deployment page is displayed. Click Create Device, select Single Create from the drop-down list, and enter device information and SIM card information in the displayed dialog box, as shown in Figure 5-26. Click behind the Device Type text box. The Select Device Type page is displayed. Select the device types to be deployed, as shown in Figure 5-27. Click behind the Mobile number text box. The Select mobile number page is displayed. Select the imported mobile phone number information, as shown in Figure 5-28. Click behind the Message name text box. The Select short message page is displayed. Select the created short messages, as shown in Figure 5-29. Click OK to save the configuration.

      Figure 5-26  Single create

      Figure 5-27  Select device type

      Figure 5-28  Select mobile number

      Figure 5-29  Select short message

    2. Click OK to save the configuration, and then the created short messages will be displayed on the Short Message Deployment page, as shown in Figure 5-30. Select the devices to be deployed and click Match Provisioning File to select the created configuration template, as shown in Figure 5-31. Click OK to save the configuration.

      Figure 5-30  Created deployment information

      Figure 5-31  Matching deployment files

    3. After the configuration has been saved, information about the configuration template will be displayed on the Short Message Deployment page, as shown in Figure 5-32. Click OK to finish SMS-based deployment configuration.

      Figure 5-32  SMS-based deployment

    4. Select the SMS-based deployment task and click Send Message for SMS-based deployment, as shown in Figure 5-33.

      Figure 5-33  Sending messages

    5. View the configuration task status after clicking Send Message. Devices receive and parse deployment short messages and connect to eSight in 3G/LTE mode. Devices then obtain file server information and access the file server through SFTP to download and load a configuration file. After loading a configuration file, the devices restart and then register with eSight. You can manage branch devices through eSight after they register successfully.
  5. Configure a mobile phone number whitelist.

    # Configure a mobile phone number whitelist to allow modifying device configurations according to short messages sent from only mobile phone numbers in the whitelist.

    <Huawei> system-view
    [Huawei] sms config caller 456789
    Info: Succeed in setting whitelist.

    # Disable SMS-based deployment.

    [Huawei] undo sms config autodeploy enable
    Info: Disable the SMS config function successfully.

Translation
Download
Updated: 2019-08-08

Document ID: EDOC1100034066

Views: 83557

Downloads: 466

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