beautypg.com

Configuring autoconnect parameters, Configuring the periodic inform feature, Scheduling a connection initiation – H3C Technologies H3C S6300 Series Switches User Manual

Page 225: Configuring the maximum number of connection, Retries

background image

212

To configure the CWMP connection interface:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter CWMP view.

cwmp

N/A

3.

Specify the interface that

connects to the ACS as the

CWMP connection interface.

cwmp cpe connect interface

interface-type interface-number

The default CWMP connection
interface depends on the device

model.

Configuring autoconnect parameters

You can configure the CPE to connect to the ACS periodically, or at a schedule time for configuration

or software update. To protect system resources, limit the number of retries that the CPE can make to

connect to the ACS.

Configuring the periodic Inform feature

To connect to the ACS periodically for CPE information update:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter CWMP view.

cwmp

N/A

3.

Enable the periodic Inform
feature.

cwmp cpe inform interval enable

By default, this function is
disabled.

4.

(Optional.) Configure the

Inform interval.

cwmp cpe inform interval seconds

By default, the CPE sends an
Inform message to start a session
every 600 seconds.

Scheduling a connection initiation

To connect to the ACS for configuration or software update at a scheduled time:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter CWMP view.

cwmp

N/A

3.

Schedule a connection
initiation.

cwmp cpe inform time time

By default, no connection initiation
has been scheduled.

Configuring the maximum number of connection retries

The CPE retries a connection automatically when one of the following events occurs:

The CPE fails to connect to the ACS.

The connection is disconnected before the session on the connection is completed.

The CPE considers a connection attempt as having failed when the close-wait timer expires. This timer

starts when the CPE sends an Inform request. If the CPE fails to receive a response before the timer

expires, the CPE resends the Inform request.
To configure the maximum number of connection retries that the CPE can make: