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


To have a better experience, please upgrade your IE browser.


CLI-based Configuration Guide - Network Management and Monitoring

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R009

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).
Configuring the CWMP Connection

Configuring the CWMP Connection


To allow the ACS to manage the CPE, set up a connection between the ACS and the CPE.


  1. Run system-view

    The system view is displayed.

  2. Run cwmp

    The CWMP view is displayed.

  3. Run cwmp acs url url

    The ACS's URL to which the CPE connects is specified.

    To use the HTTPS URL, you must configure SSL authentication.


    You can also configure a DHCP option to specify the ACS URL. However, if DHCP packets carrying this option are interrupted, the ACS URL will leak, causing security risk. Use this method only in a secure network environment.

  4. (Optional) Run cwmp permit interface { interface-type interface-number } &<1-5>

    Physical interfaces on the CPE to which the ACS can connect are specified.

    By default, the ACS can connect to all the physical interfaces on the CPE.

  5. (Optional) Run cwmp cpe connect interface interface-type interface-number

    The CWMP connection interface is specified.

    Generally, a CPE obtains a CWMP connection interface from all the interfaces to which the ACS have reachable routes. If the obtained interface does not connect the CPE to the ACS, CWMP connection fails to be set up. Therefore, a CWMP connection interface needs to be specified manually.

  6. (Optional) The CPE can use the following methods to send inform messages:
    • Sending inform messages periodically
    1. Run cwmp cpe inform interval enable

      The CPE is enabled to periodically send inform messages.

      By default, the CPE does not periodically send inform messages.

    2. Run cwmp cpe inform interval seconds

      The interval at which a CPE sends inform messages is set.

      By default, a CPE sends an inform message every 30 seconds.

    • Sending an inform message at a specified time
    1. Run cwmp cpe inform time time

      The time when a CPE sends an inform message is set.

      By default, no time is specified for the CPE to send an inform message.


    You can configure either one or both methods.

  7. (Optional) Run cwmp cpe inform product-class device-type

    The actual product type of the CPE is added to the session initiated by the CPE to the ACS.

    By default, the session initiated by the CPE to the ACS contains the product type AccessRouter.

  8. (Optional) Run cwmp cpe connect retry times

    The maximum number of attempts the CPE can make to retry a connection is set.

    By default, the maximum number of attempts is 3.

  9. (Optional) Run cwmp cpe wait timeout seconds

    The connection timeout interval is configured for the CPE. If no data is transmitted within the timeout interval, the connection between the CPE and ACS is torn down.

    By default, connection timeout interval is 30 seconds.

  10. (Optional) Run cwmp ip-change inform disable

    The device is disabled from informing the ACS of an IP address change event.

    By default, when the IP address of a device changes, the device does not inform the ACS of this event.


    This command takes effect only on IP addresses reachable to the ACS.

Updated: 2019-05-17

Document ID: EDOC1000174072

Views: 108345

Downloads: 346

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