beautypg.com

7 privilege levels, 8 command modes, 7 privilege levels 45.8 command modes – ZyXEL Communications GS-4012 User Manual

Page 328: Section 45.7 on

background image

Chapter 45 Introducing Commands

GS-4012F/4024 User’s Guide

328

45.7 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 privilege level commands are available to all
login accounts.

"

If you use an external RADIUS server to authenticate users, you can use a
VSA (Vendor Specific Attribute) to configure a privilege level for an account on
the RADIUS server. See

Section 23.2.4 on page 193

for more information.

Use the following commands to specify privilege levels for login accounts.
Syntax:

logins username password
logins username privilege <0-14>

where

45.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. See

Section 45.7 on page

328

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), 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.

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.