CLI commands

Configuration setup

Within the configure mode:

Syntax:

cwmp

acs

Configure Auto Configuration Server (ACS) access.

cpe

Configure Customer Premises Equipment (CPE) access.

disable

Disable the CPE WAN Management Protocol.


[NOTE: ]

NOTE: CWMP is automatically enabled. To conserve resources, reconfigure this setting using the cwmp disable command.


enable

Enable the CPE WAN Management Protocol.

Syntax:

[no] cwmp

acs

Configure Auto Configuration Server (ACS) access.

cpe

Configure Customer Premises Equipment (CPE) access.

enable

Enable the CPE WAN Management Protocol.

ACS password configuration

Syntax:

cwmp acs

password

Configure the password used for authentication when the switch connects to the ACS.

url

Configure the URL of the ACS.

username

Configure the username used for authentication when the switch connects to the ACS.

When encrypt-credentials is off

Syntax:

cwmp acs password

plaintext

Configure the password used for authentication when the switch connects to the ACS.

When encrypt-credentials is on

Syntax:

cwmp acs password

encrypted-key

An encrypted password generated with the encrypt-credentials command.

plaintext

Configure the password used for authentication when the switch connects to the ACS.

Encrypt-credential on

cwmp acs password encrypted-key

ASCII-STR

Enter an ASCII string (maximum length: 384 characters).

Plaintext password

cwmp acs password plaintext

PASSWORD-STR

A plaintext password used for ACS authentication (maximum length: 256 characters).

ACS URL configuration

Syntax:

cwmp acs url

URL-STR

The URL of the ACS (maximum length: 256 characters).

ACS username configuration

Syntax:

cwmp acs username

USERNAME-STR

A username for ACS authentication (maximum length: 256 characters).

CPE configuration

Syntax:

cwmp cpe

password

Configure the password used for authentication when the ACS connects to the switch.

username

Configure the username used for authentication when the ACS connects to the switch.

CPE password configuration

When encrypt-credentials is on

Syntax:

cwmp cpe password

encrypted-key

An encrypted password generated with the 'encrypt-credentials' command.

plaintext

Configure the password used for authentication when the ACS connects to the switch.

Syntax:

cwmp cpe password encrypted-key

ASCII-STR

Enter an ASCII string (maximum length: 384 characters).

When encrypt-credentials is off

Syntax:

cwmp cpe [password]

plaintext

Configure the password used for authentication when the ACS connects to the switch

Syntax:

cwmp cpe

PASSWORD-STR

A plaintext password used for ACS authentication (maximum length: 256 characters).

CPE username configuration

Syntax:

cwmp cpe [username]

USERNAME-STR

A username for ACS authentication (maximum length: 256 characters).

Enable/disable CWMP

Syntax:

cwmp [enable|disable]

Show commands

CWMP configuration and status query

Syntax:

show cwmp

configuration

Show current CWMP configuration.

status

Show current CWMP status.

When CWMP is enabled

Syntax:

show cwmp configuration

CWMP configuration

CWMP Configuration
CWMP Status          : Enabled
ACS URL              : http://16.93.62.32:9090
ACS Username         : bims
Inform Enable Status : Enabled
Inform Interval      : 60
Inform Time          : 2014-04-08T06:00:00
Reconnection Timeout : 30

CWMP status

CWMP Status
CWMP Status              : Enabled
ACS URL                  : http://16.93.62.32:9090
ACS URL Origin           : Config
ACS Username             : bims
Connection Status        : Disconnected
Data Transfer Status     : None
Last ACS Connection Time : Wed Apr  9 16:56:00 2014
Time to Next Connection  : 00:00:36

When CWMP is disabled

Syntax:

show cwmp status

CWMP status

CWMP Status
CWMP Status              : Disabled

CWMP configuration

show cwmp configuration
CWMP Configuration
CWMP Status          : Disabled