Configure CWMP Authentication Function
Network Requirements
- Device visits the ACS through the Network and enable the CWMP function on Device. Configure the authentication function both on Device and ACS.
- After the authentication passes, Device will execute the version upgrade, configuration restoration, configuration backup, and configuration upgrade tasks sent by the ACS.
Network Topology
![Networking of the CWMP authentication function](/storage/images/Document/Maipu/monitoring/cwmp-authentication.jpg)
Figure 10-2 Networking of the CWMP authentication function
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 interface. (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 device.
Device(config)#interface vlan 2
Device(config-if-vlan2)#cwmp wan default
Device(config-if-vlan2)#exit
|
Step 4: Configure the ACS server.
#Create the fragment template on the ACS and configure both the authentication user name and password as admin. (Omitted)
#Create the configuration upgrade task on the ACS and choose the fragment template to be created. Deliver the configuration task to Device. (Omitted)
![note](/storage/images/Document/Maipu/note-icon.jpg)
-
The ACS sends the authentication user name and password to Device through configuring the upgrade task to ensure that the ACS can pass the Device authentication.
#Create version upgrade task, restoration task, and backup task on the ACS.
Step 5: Check the result.
#Execute the show running-config command on Device and it can be viewed that the ACS sends the user name and password of Device.
cwmp agent
management server url http://129.255.136.200:8080/openacs/acs
connection request username admin
connection request password admin
enable download
enable
exit
#Device can successfully execute the version upgrade task. Configure the restoration task and backup task sent by the ACS.