Cwmp connection establishment, Configuration task list – H3C Technologies H3C S6300 Series Switches User Manual

Page 220

Advertising
background image

207

NOTE:

For the CPE to complete autoconfiguration at its initial startup, H3C recommends that you use a DHCP
server. The DHCP option for ACS parameter assignment is option 43. For more information about DHCP,
see

Layer 3—IP Services Configuration Guide.

CWMP connection establishment

As shown in

Figure 2

, the CPE and the ACS use the following process to establish a connection:

1.

After obtaining the basic ACS parameters, the CPE initiates a TCP connection to the ACS.

2.

If HTTPS is used, the CPE and the ACS initialize SSL for a secure HTTP connection.

3.

The CPE sends an Inform message in HTTPS to initiate a CWMP session.

4.

After the CPE passes authentication, the ACS returns an Inform response to establish the session.

5.

After sending all requests, the CPE sends an empty HTTP post message.

6.

If the ACS wants to point the CPE to a new ACS URL, the ACS queries the ACS URL set on the CPE.

7.

The CPE replies with its ACS URL setting.

8.

The ACS sends a Set request to modify the ACS URL on the CPE.

9.

After the ACS URL is modified, the CPE sends a response.

10.

The ACS sends an empty HTTP message to notify the CPE that it has no other requests.

11.

The CPE closes the connection, and then initiates a new connection to the new ACS URL.

Figure 2 CWMP message interaction procedure

Configuration task list

To use CWMP, you must enable CWMP from the CLI. You can then configure ACS and CPE attributes

from the CPE's CLI, the DHCP server, or the ACS.

CPE

(1) Open TCP connection

(2) SSL initiation

(4) HTTP response (Inform response)

(3) HTTP post (Inform)

(6) HTTP response (GetParameterValues request)

(5) HTTP post (empty)

(8) HTTP response (SetParameterValues request)

(7) HTTP post (GetParameterValues response)

(11) Close connection

(10) HTTP response (empty)

(9) HTTP post (SetParameterValues response)

Advertising