R2511-HP MSR Router Series Network Management and Monitoring Command Reference(V5)

126
Default command level
2: System level
Parameters
seconds: Sets the CPE close-wait timer in the range of 30 to 1800 seconds.
Usage guidelines
The close-wait timer specifies how long the connection to the ACS can be idle before it is shut down. If
no data is transmitted over the connection before the timer expires, the CPE disconnects the connection
to the ACS.
Examples
# Configure the CPE close-wait timeout as 60 seconds.
<Sysname> system
[Sysname] cwmp
[Sysname-cwmp] cwmp cpe wait timeout 60
cwmp device-type
Use cwmp device-type to configure the CPE working mode of the device.
Use undo cwmp device-type to restore the default.
Syntax
cwmp device-type { device | gateway }
undo cwmp device-type
Default
The device operates in gateway mode.
View
CWMP view
Default level
2: System level
Parameters
device: Sets the device to operate in device mode. Use this keyword if no lower-level CPEs attach to the
device.
gateway: Sets the device to operate in gateway mode. If the device is the egress to the WAN and has
CPEs attached to it, use this keyword to enable the ACS to manage the device and all the attached CPEs.
Examples
# Configure the device to operate in gateway mode.
<Sysname> system
[Sysname] cwmp
[Sysname-cwmp] undo cwmp enable
[Sysname-cwmp] cwmp device-type gateway
[Sysname-cwmp] cwmp enable