beautypg.com

3 privilege levels for sessions – ZyXEL Communications ZyXEL Dimension ES-2024PWR User Manual

Page 20

background image

Chapter 2 Privilege Level and Command Mode

Ethernet Switch CLI Reference Guide

20

The admin account has a privilege level of 14, so the administrator can run every command.
You cannot change the privilege level of the admin account.

2.1.3 Privilege Levels for Sessions

The session’s privilege level initially comes from the privilege level of the login account the
user used to log in to the Switch. After logging in, the user can use the following commands to
change the session’s privilege level.

2.1.3.1 enable Command

This command raises the session’s privilege level to 14. It also changes the session to enable
mode (if not already in enable mode). This command is available in user mode or enable
mode, and users have to know the enable password.
In the following example, the login account user0 has a privilege level of 0 but knows that the
enable password is 123456. Afterwards, the session’s privilege level is 14, instead of 0, and
the session changes to enable mode.

The default enable password is 1234. Use this command to set the enable password.

password <password>

<password> consists of 1-32 alphanumeric characters. For example, the following

command sets the enable password to 123456. See

Chapter 73 on page 251

for more

information about this command.

2.1.3.2 enable <0-14> Command

This command raises the session’s privilege level to the specified level. It also changes the
session to enable mode, if the specified level is 13 or 14. This command is available in user
mode or enable mode, and users have to know the password for the specified privilege level.
In the following example, the login account user0 has a privilege level of 0 but knows that the
password for privilege level 13 is pswd13. Afterwards, the session’s privilege level is 13,
instead of 0, and the session changes to enable mode.

Users cannot use this command until you create passwords for specific privilege levels. Use
the following command to create passwords for specific privilege levels.

password <password> privilege <0-14>

sysname> enable
Password: 123456
sysname#

sysname(config)# password 123456

sysname> enable 13
Password: pswd13
sysname#