Syntax:
logins username <username> password <password> logins username <username> privilege
where |
|
username <username> | = Specifies a new user (up to 32 alphanumeric characters). Enter |
| a user name to change the settings of an existing account. |
password <password> | = Specifies the new password (up to 32 alphanumeric |
| characters) for this user. |
privilege | = Assigns a privilege level for the user. |
31.7 Command Modes
There are three command modes: User, Enable and Configure. The modes (and commands) available to you depend on what level of privilege your account has. See Section 31.6 on page 213 for more information on setting up privilege levels.
When you first log into the command interpreter with a
To enter Enable mode, type enable and enter the administrator password when prompted (the default is 1234). When you enter Enable mode, the command prompt changes to the pound sign (#). If you log into the command interpreter as an administrator you automatically enter Enable mode.
The following table describes command interpreter modes and how to access them.
Table 70 Command Interpreter Mode Summary
MODE | .DESCRIPTION | HOW TO LOGIN/ | PROMPT | |
ACCESS | ||||
|
|
| ||
|
|
|
| |
User | Commands available in this mode are | Default login level for a | sysname> | |
| a subset of enable mode. You can | The first part of the prompt is | ||
| perform basic tests and display |
| ||
|
| the system name. In the CLI | ||
| general system information. |
| ||
|
| examples in this User’s | ||
|
|
| ||
|
|
| Guide, the system name is | |
|
|
| always “sysname”. | |
Enable | Commands available in this mode | Default login level for | sysname# | |
| allow you to save configuration | accounts with a |
| |
| settings, reset configuration settings | privilege of 13 or 14. |
| |
| as well as display further system |
| ||
| information. This mode also contains |
| ||
| (with a privilege of 0- |
| ||
| the configure command which | 12) need to type the |
| |
| takes you to config mode. | enable command |
| |
|
| and enter enable mode |
| |
|
| password. |
|
214 | Chapter 31 Introducing Commands |