66 CCM4850 Installer/User Guide
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
The following command adds the username JDoe and gives that user the Appliance Administrator
access level, which enables access to all ports and CCM appliance commands.
> user add JDoe access=applianceadmin
User Delete command
The User Delete command removes a username entry from the CCM user database. The username
may no longer be used to authenticate a session with the CCM appliance. If the specified user is
currently logged in, a message is output to the user, indicating that access is no longer permitted,
and the Telnet session is terminated.
Access right: USER
Access level: ADMIN or APPLIANCEADMIN
Syntax
USER DEL <username>
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 Can 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
Table 5.33: User Add Command (Continued)
Parameter Description
Table 5.34: User Delete Command Parameter
Parameter Description
<username> Username to be deleted.