78CCM840/1640 Installer/User Guide

Syntax

USER ADD <username>

[PASSWORD=<pwd>] [SSHKEY=<keyfile>] [FTPIP=<ftpadd>]

[KEY=<sshkey>] [ACCESS=<access>]

User Add Command Parameters

Parameter Description

<username>

3-16 alphanumeric character username. Usernames are case sensitive.

PASSWORD=<pwd> 3-16 alphanumeric character password. Passwords are case sensitive.

SSHKEY=<keyfile>

Name of uuencoded public key file on an FTP server. The maximum

 

file size that can be received is 4K bytes. If this parameter is

 

specified, you must also specify the FTPIP parameter.

 

 

FTPIP=<ftpadd>

FTP server’s IP address. If this parameter is specified, you must also

 

specify the SSHKEY parameter.

 

 

 

KEY=<sshkey>

Uuencoded SSH key.

 

 

 

ACCESS=<access>

Command and port access rights or level. You may specify multiple

 

access rights, separated by commas, or a level.

 

Valid values for access rights are:

 

P<n>

Access to the specified port number.

 

P<x-y>

Access to the specified range of ports.

 

PALL

Access to all ports.

 

USER

User configuration access rights.

 

PCON

Port configuration access rights.

 

SCON

Configuration access rights.

 

SMON

Monitor access rights.

 

BREAK

May issue Port Break command.

 

Valid values for access levels are:

 

ADMIN

PALL, USER, SMON, PCON and

 

 

BREAK access rights.

 

APPLIANCEADMIN

PALL, USER, SCON, SMON,

 

 

PCON and BREAK access rights.

 

Default = PALL,SMON

 

 

 

 

Examples

The following command adds the username JohnDoe, with the password

secretname, access to ports 2, 5, 6 and 7 and user and monitor access rights.

> user add JohnDoe password=secretname access=P2,5-7,user,smon

The following command adds the username JaneDoe, with access to all ports. The name of the SSH public user key file is ccm_key2.pub. This file is located on the FTP server at IP address 10.0.0.3.

> user add JaneDoe ssh=ccm_key2.pub ftp=10.0.0.3 access=pall