Chapter 32 Introducing the Commands

32.7 Account Privilege Levels

You can use a command whose privilege level is equal to or less than that of your login account. For example, if your login account has a privilege level of 12, you can use all commands with privilege levels from 0 to 12. 0-privileged commands are available to all login accounts.

32.8 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. Use the logins username command in Configure mode to set up accounts and privilege levels.

When you first log into the command interpreter with a read-only account (having a privilege of 0 to 12), the initial mode is User mode. The User mode commands are a subset of the Enable mode commands. The User mode command prompt ends with an angle bracket (>).

To enter Enable (or privileged) mode using a read-only account, 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 78 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

read-only account.

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

the administrator or

 

 

settings, reset configuration settings

accounts with a

 

 

as well as display further system

privilege of 13 or 14.

 

 

information. This mode also contains

Read-only accounts

 

 

the configure command which

(with a privilege of 0 -

 

 

takes you to config mode.

12) need to type the

 

 

 

enable command

 

 

 

and enter the Enable

 

 

 

mode password.

 

 

 

 

 

Config

Commands available in this mode

Type config or

sysname(config)#

 

allow you to configure settings that

configure in

 

 

affect the switch globally.

Enable mode.

 

Command modes that follow are sub-modes of the config mode and can only be accessed from within the config mode.

 

215

VES-1616F-3x Series User’s Guide