Site Deployment for WAN Services
This section describes how to deploy sites with WAN services.
You can configure the following features only when the tunnel mode is set to EVPN on the
page.Deployment Process
Figure 6-8 and Figure 6-9 describe the process of email-based deployment and DHCP-based deployment, respectively.
Email-based Deployment
(Optional) Configuring an Email Template
In the email-based deployment scenario, deployment emails need to be configured on multiple CPEs. That is, emails with the same content including the subject and body format need to be configured on different CPEs. To reduce repeated operations, you can customize an email template and apply an email template when setting email-based deployment parameters on a CPE. Then the parameters are set automatically.
iMaster NCE-Campus provides a default email template Enterprise AR PDT. If the default email template can meet the requirements or the email-based deployment scenario is not involved, you can skip this section. Otherwise, you need to customize an email template.
Procedure
- Choose from the main menu.
- Click Email Template.
- Click Create to create an email template.
In normal cases, you only need to set Email Template, Subject, and Content. You can modify other parameters as needed.
- Click OK.
Parameter Description
Parameter |
Description |
---|---|
Email template |
Name of an email template. If multiple CPEs need to be deployed, the personnel responsible for email-based deployment can create an email template to configure general information for the CPEs. |
Subject |
Title of a deployment email. |
Content |
Body of a deployment email. You are advised to change the default settings only when required. To add a fixed field to a deployment email, click the label of the target field:
|
Default template |
Whether to configure a template as the default email template. If this parameter is enabled, the current template is selected by default when you configure the Send Email function for a site. |
Recipients |
Recipient list. If a template is selected for a deployment email, the recipients of the deployment email are automatically set to those in the template. The recipients can be changed in the deployment email. |
CC |
CC list. If a template is selected for a deployment email, the CCs of the deployment email are automatically set to those in the template. The CCs can be changed in the deployment email. |
Deploying a Site by Email
Email-based deployment enables CPEs to connect to the WAN, register with iMaster NCE-Campus, and go online. RR and edge sites in EVPN tunnel mode need to be deployed.
- To guarantee deployment success, ensure that CPEs use factory settings. CPEs with other configurations may fail to be deployed.
- After CPEs are deployed, if you modify parameters such as Interface Protocol and IP address access mode, you need to perform email-based deployment on the CPEs again. However, if you modify Port Description, Uplink/Downlink bandwidth, and Link ID, re-deployment is not required. For details about parameters involved in re-deployment, see the description of WAN link configuration on the web UI.
- To properly deploy a CPE using a mobile phone via Wi-Fi, disable the mobile data (4G) function and connect to the Wi-Fi of the CPE.
Prerequisites
- An email server has been configured. For details, see "Configuring an Email Server" in Initial Configuration.
- A site has been created and a WAN link has been configured for the site. For details, see "Creating a Site" and "Configuring the Network Access Mode for a Site" in Network Design.
- The ESN that already exists in the device list cannot be the same as that of the device to be added by device model.
- You have obtained the following tools before performing email-based deployment onsite.
Tool
Description
PC or laptop
Used to receive deployment emails. After a PC or laptop is connected to a CPE, deployment personnel can perform deployment operations.
Network cable
Used to connect the PC or laptop to a CPE.
Procedure
- Log in to iMaster NCE-Campus and choose from the main menu to check the device status. On the displayed page, the status of the devices is Unregistered.
- Send a deployment email.
- Choose from the main menu.
- Click Send Email.
- On the Send Email page, select the target site and set the email content.
- In the Select Site area, select the site to which the deployment email is to be sent. You can search for sites by site name, template name, or active status.
- Click
and then click Next.
- Set the recipient email address next to the site.
- Set the CC recipient email address in CC.
- Select an email template from the Email Template drop-down list.
- Set subject in Subject and enter the email content.
- Click OK.
- After the deployment email is sent successfully (that is, the site is activated), the icon next to the site is displayed as
.
- Check all deployment emails and carry them at the customer site.
- Install a CPE at the customer site and perform email-based deployment. Only two methods are supported currently. Select one of them based on the site situation.
- Wired deployment mode
- Install, connect, and power on the CPE.
- Use a network cable to connect a PC to the management network port of the CPE.
Generally, the management network port of a CPE is marked with the management or MGMT silkscreen. If a CPE does not have a silkscreen, find the location of the management network port according to the AR100&AR120&AR150&AR160&AR200&AR1200&AR1600&AR2200&AR3200&AR3600 V200R009 Product Documentation.
- Wireless deployment mode
In factory settings of a CPE, the SSID of the deployment Wi-Fi network is a character string that consists of PnP_ and the last six digits of the device's ESN, in the PnP_xxxxxx format. The password for the deployment Wi-Fi network is a character string that consists of AR and the last six digits of the network SSID, in the ARxxxxxx format.
The deployment engineer uses a deployment terminal to search for the SSID of the deployment Wi-Fi network SSID and enters the password for the deployment Wi-Fi network to access the CPE. When the deployment terminal has been connected to the specified deployment Wi-Fi network and obtained an IP address, this deployment terminal has been connected to the CPE.
Only the CPEs with the default WLAN mode as the AP mode support wireless access of deployment terminals, such as AR161EW and other Wi-Fi support CPEs.
- Wired deployment mode
- Perform email deployment.
- On the PC, open the deployment email and copy the URL to the browser's address bar to access the URL or directly click the URL.
Only the latest URL can be used for deployment. If iMaster NCE-Campus repeatedly generates URLs, the old URL will become invalid. You need to use the latest URL for deployment and use the URL within the validity period.
- On the displayed page, enter the password as prompted. The password must be the same as the URL encryption key specified when you configure global parameters.
- On the displayed page, click Check Parameters to check parameters parsed automatically and click Confirm Deployment.
Parameter values in the Check Parameters area need to be changed only when a data error occurs. Do not change them if no data error occurs.
- On the PC, open the deployment email and copy the URL to the browser's address bar to access the URL or directly click the URL.
- Wait one to two minutes and check the deployment result. Delays may occur if any problem occurs. The waiting time varies depending on actual conditions.
If Deployment Security Check is enabled when you add a device, select the device on the device management page of the iMaster NCE-Campus and click Deploy to deliver configurations to the device. For details, see Adding Devices.
- If the deployment is successful, a success prompt is displayed on the page.
- Choose iMaster NCE-Campus. Find the CPEs deployed through email-based deployment and check their status.
If a CPE is in Normal status, it has registered with iMaster NCE-Campus and goes online.
on the main menu of
USB-based Deployment
Context
USB-based deployment enables CPEs to connect to the WAN, register with iMaster NCE-Campus, and go online. RR sites and edge sites in EVPN tunnel mode can be deployed in this mode.
A network administrator sets ZTP parameters on iMaster NCE-Campus, and iMaster NCE-Campus generates a ZTP file based on the site configuration. The ZTP file can be converted into a configuration file through the IniConverter tool and imported to a USB flash drive for USB-based deployment.
For CPEs with ESNs, the ZTP file can be converted into a configuration file for multiple CPEs. Batch USB-based deployment is supported.
For CPEs without ESNs, the ZTP file can be converted into a configuration file for only one CPE. Batch USB-based deployment is not supported.
- A URL encryption key is contained in the configuration file generated using the IniConverter tool. To prevent the key from being leaked, it is strongly recommended that the device administrator use a keystroke encryption USB flash drive or fingerprint encryption USB flash drive for deployment. During deployment, keep the USB flash drive with the deployment configuration file secure. After the deployment is complete, delete the deployment configuration file in a timely manner.
- If the ZTP file contains configuration data of multiple CPEs, the IniConverter tool use ESNs of CPEs to differentiate CPEs. In this case, the ZTP file must contain ESNs of CPEs. If the ZTP file contains configuration data of only one CPE, the ZTP file does not need to contain the CPE's ESN.
Prerequisites
- The ZTP settings have been completed.
- The IniConverter tool for generating configuration files is available. Contact Huawei engineers to obtain this tool.
Procedure
- Choose from the main menu.
- Click the ZTP tab. The WAN-side link configuration page is displayed.
- On the ZTP Configuration page that is displayed, click Download ZTP File.
- In the Download ZTP File dialog box, select the site to be deployed and click
.
- Click OK. The system generates ZTP_xxx.csv file and the file is then automatically downloaded to the browser's default download path.
- Use IniConverter to convert the ZTP file to a configuration file.
Drag the downloaded ZTP_xxx.csv file to the IniConverter tool.
Set Password to the value of URL encryption key, which has been set on the Global Parameters page.
Click Generate ini file, and save the configuration file as ZTP.ini.
- Create an index file.
Create a text file named USB_AR.ini and edit the file.
During USB-based deployment, the CPE where the USB flash drive is installed matches its own ESN against the ESN field in the index file. If it matches, the configuration in the CONFIG field of the configuration file in the USB flash drive is added to the CPE.
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-LITE FILENAME1=ZTP.ini END AR
Table 6-84 Fields in the index fileField
Description
BEGIN AR
Start flag of the index file. This field cannot be modified.
USB CONFIG
USB flash drive configuration. This field cannot be modified.
SN
Time when the index file is edited, in the YearMonthDay.HourMinuteSecond format.
For example, if the index file is edited at 07:06:32 on April 8, 2018, this field is 20180408.070632.
EMS_ONLINE_STATE
Whether the NMS is online. This field has a fixed value NO, indicating that the NMS is offline. This field cannot be modified.
UPGRADE INFO
Upgrade information header. This field cannot be modified.
OPTION
Upgrade mode flag. This field has a fixed value AUTO.
DEVICENUM
Number of devices to be upgraded using this index file. This field has a fixed value 1 and cannot be modified.
NOTE:This field cannot be modified because the number of devices to be upgraded is not displayed in the index file but specified by the FILENAME1 field.
DEVICE1 DESCRIPTION
Description information header of device 1.
OPTION
Whether USB-based deployment is required for the device. This field has a fixed value OK, indicating that USB-based deployment is required. This field cannot be modified.
ESN
Serial number of a device. This field has a fixed value DEFAULT, indicating that the index file is applicable to all devices. This field cannot be modified.
MAC
MAC address of a device. This field has a fixed value DEFAULT, indicating that the index file is applicable to all devices. This field cannot be modified.
VERSION
Version number after the upgrade.
NOTE:The factory version is used in USB-based deployment by default. This field is meaningless but cannot be left blank.
DIRECTORY
Path for storing deployment files. This field has a fixed value DEFAULT, indicating that the deployment files are stored in the root directory of the USB flash drive. This field cannot be modified.
FILENUM
Number of files to be loaded. This field has a fixed value 1, indicating that only the system software needs to be loaded to the device. This field cannot be modified.
TYPE1
Upgrade file type. This field has a fixed value SYSTEM-CONFIG-LITE, indicating that only the configuration file used in streamlined USB-based deployment needs to be loaded to the device. This field cannot be modified.
FILENAME1
Name of the configuration file used for USB-based deployment.
NOTE:Ensure that the file name is the same as that used in USB-based deployment.
END AR
End flag of the index file. This field cannot be modified.
- Save the index file USB_AR.ini and configuration file ZTP.ini to the root directory of the USB flash drive.
- Perform USB-based deployment.
Power on the CPE. The CPE starts successfully.
Install the prepared USB flash drive to the USB port on the CPE. The CPE automatically starts the USB-based deployment process.
During deployment, the CPE obtains the configuration file from the USB flash drive based on the index file and saves it to the CPE's default storage medium. The deployment configuration in the configuration file is delivered to the CPE if its ESN matches. The CPE then saves the configuration to the configuration file for next startup.
Observe the USB indicator on the CPE to check the USB-based deployment progress. After USB-based deployment succeeds, remove the USB flash drive.
If the indicator is steady yellow, the USB-based deployment has not started yet and the interface card is to be registered.
Only the AR1610-X6 supports the status that the indicator is steady yellow.
If the indicator is blinking green, USB-based deployment is ongoing.
If the indicator is steady green, USB-based deployment is successful.
If the indicator is steady red, USB-based deployment fails.
DHCP-based Deployment
In DHCP-based deployment, the DHCP server allocates an IP address to a CPE and notifies the CPE of the information about iMaster NCE-Campus through Option 148. Then, the CPE sends a registration request to iMaster NCE-Campus based on the obtained controller information to complete ZTP deployment.
To guarantee deployment success, ensure that CPEs use factory settings. CPEs with other configurations may fail to be deployed.
Context
CPEs of different models connect to the DHCP server through specified interfaces to implement DHCP-based deployment.
Prerequisites
- A site has been created. For details, see "Creating a Site" in Network Design.
- A DHCP server has been configured. The Option 148 field carries the information about iMaster NCE-Campus (southbound IP address and registration port information).
Procedure
- Log in to iMaster NCE-Campus and choose from the main menu to check the device status. On the displayed page, the status of the devices is Unregistered.
- Choose from the main menu.
- Click the ZTP tab page. The configuration page for WAN-side links is displayed.
- Select a site for which you need to configure the network access mode.
- Click the Not Activated or All tab on the left.
- Click
on the left of the site template to display sites that use the same template.
- Click a site for which you need to configure the network access mode.
- Configure the WAN-side links for the site.
- Click the WAN Link tab.
- Set Select ZTP Mode to DHCP. Then, devices can connect to the DHCP server and register with iMaster NCE-Campus to complete deployment.
- Select the link to be configured and click
in the Operation column.
- On the Settings tab page, set parameters of the WAN-side link according to the interface type.
- Click OK.
- Click Apply. After WAN links are configured, the icon next to the site is displayed as
.
- Wait 1 to 2 minutes and check the deployment result.
Choose
from the main menu. Find the deployed CPEs and check their statuses.- (Optional) If Mode is set to Device Model when you add a device, check whether the ESN of the device has been identified. Otherwise, skip this step.
- If Status is Normal, the device has registered with iMaster NCE-Campus and goes online successfully.
Deployment Through the Registration Center
You are advised to perform deployment through the registration center when iMaster NCE-Campus interworks with Huawei registration center (for example, HUAWEI CLOUD).
Prerequisites
- The system administrator has configured a registration center on iMaster NCE-Campus.
- The tenant administrator has performed the following operations:
- A DHCP server address pool has been configured, and devices can automatically obtain the IP address of iMaster NCE-Campus using DHCP.
- DNS has been configured. Devices can resolve the IP address corresponding to the domain name of the registration query center.
- ZTP has been configured.
- Time synchronization for sites has been configured.
Procedure
- Log in to iMaster NCE-Campus and choose from the main menu to check the device status. On the displayed page, the status of the devices is Unregistered.
Ensure that the devices to be deployed have been added to the site. Devices that are not added to the site cannot register and go online.
- After a device is powered on and connected to the network, hold down the reset button on the device for more than five seconds. The device automatically accesses Huawei registration center to obtain the IP address of iMaster NCE-Campus.
- Wait one to two minutes and check the deployment result. Delays may occur if any problem occurs. The waiting time varies depending on actual conditions.
Choose iMaster NCE-Campus. Find the devices deployed and check their status.
on the main menu of- (Optional) If Mode is set to Device Model when adding a device, check whether the device ESN has been identified. Otherwise, skip this step.
- If a device is in Normal status, it has registered with iMaster NCE-Campus and goes online.
Checking the Deployment Result
After email-based deployment, you can check whether devices are successfully deployed.
Procedure
- Choose from the main menu. Select a site.
- If Successful is displayed in the Device Configuration Status column for all records, the site deployment is successful.
After the email deployment, iMaster NCE-Campus delivers site configurations to CPEs. If network flapping occurs during this period, the configuration delivered to the CPEs may be lost. You are advised to click Re-delivery upon failure to re-deliver the site configuration to the CPEs.
If the value of Device Configuration Status is not Successful, rectify the fault according to "WAN Service Configuration Delivery Fails" in the Troubleshooting Guide.