HP VPN Firewall Appliances System Management and Maintenance Configuration Guide

238
Ste
Command
Remarks
3. Configure the maximum
number of attempts that the
CPE can make to retry a
connection.
cwmp cpe connect retry times
Optional.
By default, the CPE regularly sends
connection requests to the ACS
until a connection is set up.
Configuring the close-wait timer of the CPE
The close-wait timer is used mainly in the following cases:
During the establishment of a connection, if the CPE sends a connection request to the ACS, but the
CPE does not receive a response within the configured close-wait timeout, the CPE considers the
connection as having failed.
After a connection is established, if there is no packet interaction between the CPE and the ACS
within the configured close-wait timeout, the CPE considers the connection to be invalid and
disconnects the connection.
To configure the close-wait timer for the CPE:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter CWMP view.
cwmp N/A
3. Set the CPE close-wait timer.
cwmp cpe wait timeout seconds
Optional.
The default is 30 seconds.
Configuring the CPE working mode
Configure the device to operate in one of the following CPE modes depending on its position in the
network:
Gateway mode—Enables the ACS to manage the device and any CPE attached to the device. Use
this mode if the device is the egress to the WAN and has lower-level CPEs.
Device mode—If no CPEs are attached to the device, configure the device to operate in device
mode.
Disable CWMP before you change the CPE working mode.
To configure the working mode of the CPE:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter CWMP view.
cwmp N/A
3. Configure the working mode
of the CPE.
cwmp device-type { device |
gateway }
By default, the device operates in
gateway mode.