beautypg.com

7 command modes, Table 103 command interpreter mode summary – ZyXEL Communications GS-4012F/4024 User Manual

Page 257

background image

GS-4012F/4024 User’s Guide

256

Chapter 42 Introducing Commands

Syntax:

logins username password
logins username privilege <0-14>

where

42.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 42.6 on page

255

for more information on setting up 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 the User mode. The User mode commands are a subset of
Enable mode commands. The User mode command prompt ends with an angle bracket (>).

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.

username

= Specifies a new user (up to 32 alphanumeric characters). Enter

a user name to change the settings of an existing account.

password

= Specifies the new password (up to 32 alphanumeric

characters) for this user.

privilege <0-14>

= Assigns a privilege level for the user.

Table 103 Command Interpreter Mode Summary

MODE

.

DESCRIPTION

HOW TO LOGIN/
ACCESS

PROMPT

User

Commands available in this mode are

a subset of enable mode. You can

perform basic tests and display

general system information.

Default login level for a

read-only account.

sysname>
The first part of the prompt is

the system name. In the CLI

examples in this User’s

Guide, the system name is

always “sysname”.

Enable

Commands available in this mode

allow you to save configuration

settings, reset configuration settings

as well as display further system

information. This mode also contains

the

configure

command which

takes you to config mode.

Default login level for

accounts with a

privilege of 13 or 14.
Read-only accounts

(with a privilege of 0-

12) need to type the

enable

command

and enter enable mode

password.

sysname#