
# Set the maximum number of connection attempts to 5.
[Router-cwmp]
cwmp cpe connect retry 5
# Set the close-wait timer of the Router to 100 seconds. If no data is transmitted within 100
seconds, the connection is torn down.
[Router-cwmp]
cwmp cpe wait timeout 100
Step 7
Verify the configuration.
# Run the
display current-configuration
command. The command output shows that SSL has
been successfully configured for CWMP.
<Router>
display current-configuration
...
cwmp
cwmp cpe inform interval enable
cwmp acs url https://www.acs.com:80/acs
cwmp acs username newacsname
cwmp acs password newacspsw
cwmp cpe username newcpename
cwmp cpe password newacspsw
cwmp cpe inform interval 1000
cwmp cpe connect retry 5
cwmp cpe wait timeout 100
cwmp cpe connect interface Ethernet 1/0/0
cwmp ssl-client ssl-policy sslclient
...
# Run the
display cwmp configuration
command. The command output shows that CWMP is
enabled, and the Router is configured to send Inform packets at intervals.
<Router>
display cwmp configuration
CWMP is enabled
ACS URL: https://www.acs.com:80/acs
ACS username: newacsname
ACS password: newacspsw
Inform enable status:
enabled
Inform interval: 1000s
Inform time: 2011-01-01T20:00:00
Wait timeout: 100s
Reconnection times: 5
# Run the
display cwmp status
command. The command output shows that CWMP is enabled,
and the CWMP connection status is
connected
.
<Router>
display cwmp status
CWMP is enabled
ACS URL: https://www.acs.com:80/acs
Acs information is set by: user
ACS username: newacsname
ACS password: newacspsw
Connection status:
connected
Time of last successful connection: 2010-12-01T20:00:00
----End
Example
Configuration file of the Router
#
Huawei AR1200-S Series Enterprise Routers
Configuration Guide - Security
11 SSL Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
231