beautypg.com

6 command modes – ZyXEL Communications ES-2108 User Manual

Page 154

background image

ES-2108 Series User’s Guide

154

Chapter 27 Introducing the Commands

Figure 97 CLI Help: Detailed Command Information: Example 1

Figure 98 CLI: Help: Detailed Command Information: Example 2

27.6 Command Modes

There are three CLI command modes: User, Enable and Configure.

When you first log into the CLI, the initial command mode is the 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, type

enable

and enter a password when prompted (the

default is 1234). When you enter the Enable mode, the command prompt changes to the pound
sign (

#

).

To enter the configuration mode, type

configure

or

config

. The Configure mode command

prompt consists of the word “

config

” and the pound sign (

#

). There are various sub

configuration modes: interface, router and VLAN.

• To enter config-vlan mode, type

vlan

followed by a number (between 1 to 4094). For

example,

vlan 10

to configure settings for VLAN 10.

• To enter config-interface mode and configure the ports, enter

interface port-

channel

followed by a port number. For example,

interface port-channel 8

.

Enter

exit

or

logout

to quit from the current mode or log out from the CLI.

ras> ping help
Commands available:
ping
<
[ vlan ]
[ size <0-1472> ]
[ -t ]
>
ras>

ras> ping ?
destination ip address
help Description of ping help