Hà Nội: NTT03, Line 1, Thống Nhất Complex, 82 Nguyễn Tuân, Thanh Xuân, Hà Nội. ● HCM: Số 31B, Đường 1, Phường An Phú, Quận 2 (Thủ Đức), TP HCM. ===> Đơn Vị Hàng Đầu Trong Lĩnh Vực Cung Cấp Thiết Bị Security - Network - Wifi - CCTV - Conference - Máy chủ Server - Lưu trữ Storge.
Danh mục sản phẩm

Configure CWMP Link Backup

Network Requirements

  • Device can visit the ACS through two links. The gigabitethernet0 interface is selected by priority to communicate with the ACS.
  • When the vlan2 interface is faulty, Device can communicate with the ACS through the vlan3 interface. When the gigabitethernet0 interface recovers, Device can communicate with the ACS through the vlan2 interface.

Network Topology

Networking of configuring the CWMP link backup

Figure 10-4 Networking of configuring the CWMP link backup

Configuration Steps

Step 1: Configure VLAN, and add the port to the corresponding VLAN (omitted).

Step 2: Configure the IP address and route of the interfaces. (Omitted)

Step 3: Configure the CWMP.

#Enable the CWMP proxy and file download function on Device and configure the URL of the ACS.

Device#configure terminal
Device(config)#cwmp agent
Device(config-cwmp)#enable
Device(config-cwmp)#management server url http://129.255.136.200:8080/openacs/acs
Device(config-cwmp)#enable download
Device(config-cwmp)#exit

#Configure the vlan2 interface as the default WAN interface.

Device(config)#interface vlan2
Device(config-if-vlan2)#cwmp wan default
Device(config-if-vlan2)#exit

#Configure the vlan3 interface as the backup WAN device.

Device(config)#interface vlan3
Device(config-if-vlan3)#cwmp wan backup
Device(config-if-vlan3)#exit

Step 4: Check the result.

#View the CWMP proxy information on Device.

Device#show cwmp agent  
 Agent status: Enabled 
 Periodic Inform: Enabled 
 Download files: Enabled 
 Inform interval: 43200 
 ACS URL: http://129.255.136.200:8080/openacs/acs 
 ACS user name:  
 ACS user password:  
 Connection request URL: http://42.0.0.1:7547/00017A/MyPower-S4320/00017a136922/cwmp 
 Connection request user name:  
 Connection request password:  
 Default WAN device: vlan2 
 Current WAN device: vlan2 
 CA certificate: /flash/tr069/ca.pem 

It can be viewed that the default WAN device is VLAN2 and current WAN device is VLAN2. It can be viewed on the ACS management page that the corresponding IP address of Device is 42.0.0.1.

#When the VLAN2 interface on Device is faulty, view the CWMP proxy information.

Device#show cwmp agent 
 Agent status: Enabled 
 Periodic Inform: Enabled 
 Download files: Enabled 
 Inform interval: 43200 
 ACS URL: http://129.255.136.200:8080/openacs/acs 
 ACS user name:  
 ACS user password:  
 Connection request URL: http://43.0.0.1:7547/00017A/MyPower-S4320/00017a136922/cwmp 
 Connection request user name:  
 Connection request password:  
 Default WAN device: vlan2 
 Current WAN device: vlan3 
 CA certificate: /flash/tr069/ca.pem 

It can be viewed that the default WAN device is vlan2 and current WAN device is vlan3. It can be viewed on the ACS management page that the corresponding IP address of Device is 43.0.0.1.

#When the vlan2 interface on Device is recovered, view the CWMP proxy information. It can be viewed that both the default WAN device and the current WAN device is vlan2. It can be viewed on the ACS management page that the corresponding IP address of Device is 42.0.0.1.