272
For a successful connection, make sure the ACS has the same username setting as the CPE. If a
password is required, you must also make sure the ACS has the same password setting as the CPE.
The ACS must provide the correct username when it requests the CPE to initiate a CWMP session. If
the username is incorrect, the CPE denies the connection request from the ACS.
You do not need to configure this command if you want to disable ACS authentication.
Examples
# Configure the username used for authenticating the ACS.
<Sysname> system-view
[Sysname] cwmp
[Sysname-cwmp] cwmp cpe username newname
Related commands
cwmp cpe password
cwmp cpe wait timeout
Use cwmp cpe wait timeout to set the close-wait timer for the CPE to close an idle connection.
Use undo cwmp cpe wait timeout to restore the default.
Syntax
cwmp cpe wait timeout seconds
undo cwmp cpe wait timeout
Default
The close-wait timer is 30 seconds.
Views
CWMP view
Predefined user roles
network-admin
Parameters
seconds: Sets the close-wait timer, in the range of 30 to 1800 seconds.
Usage guidelines
The close-wait timer specifies the amount of time the connection to the ACS can be idle before it is
terminated. The CPE terminates the connection to the ACS if no traffic is transmitted before the timer
expires.
The timer also specifies the maximum amount of time the CPE waits for the response to a session
request. The CPE determines that its session attempt has failed when the timer expires. By default,
the CPE retries a failed session until the session is established with the ACS. To limit the number of
retries, use the cwmp cpe connect retry command.
Examples
# Set the close-wait time to 60 seconds.
<Sysname> system-view
[Sysname] cwmp
[Sysname-cwmp] cwmp cpe wait timeout 60