beautypg.com

2 command modes, 1 command modes for privilege levels 0-12, 2 command modes for privilege levels 13-14 – ZyXEL Communications ZyXEL Dimension ES-2024PWR User Manual

Page 21

background image

Chapter 2 Privilege Level and Command Mode

Ethernet Switch CLI Reference Guide

21

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

command sets the password for privilege level 13 to pswd13. See

Chapter 73 on page 251

for

more information about this command.

2.1.3.3 disable Command

This command reduces the session’s privilege level to 0. It also changes the session to user
mode. This command is available in enable mode.

2.1.3.4 show privilege command

This command displays the session’s current privilege level. This command is available in
user mode or enable mode.

2.2 Command Modes

The CLI is divided into several modes. If a user has enough privilege to run a particular
command, the user has to run the command in the correct mode. The modes that are available
depend on the session’s privilege level.

2.2.1 Command Modes for Privilege Levels 0-12

If the session’s privilege level is 0-12, the user and all of the allowed commands are in user
mode. Users do not have to change modes to run any allowed commands.

2.2.2 Command Modes for Privilege Levels 13-14

If the session’s privilege level is 13-14, the allowed commands are in one of several modes.

sysname(config)# password pswd13 privilege 13

sysname# show privilege
Current privilege level : 14

Table 7 Command Modes for Privilege Levels 13-14 and the Types of Commands in Each One

MODE

PROMPT

COMMAND FUNCTIONS IN THIS MODE

enable

sysname#

Display current configuration, diagnostics, maintenance.

config

sysname(config)#

Configure features other than those below.

config-interface

sysname(config-interface)#

Configure ports.

config-mvr

sysname(config-mvr)#

Configure multicast VLAN.

config-route-

domain

sysname(config-if)#

Enable and enter configuration mode for an IP routing

domain.

config-dvmrp

sysname(config-dvmrp)#

Configure Distance Vector Multicast Routing Protocol

(DVRMP).

config-igmp

sysname(config-igmp)#

Configure Internet Group Management Protocol (IGMP).

config-ospf

sysname(config-ospf)#

Configure Open Shortest Path First (OSPF) protocol.