A SERVICE OF

logo

Chapter 32 Introducing the Commands
GS-3012/GS-3012F User’s Guide
212
To enter Enable (or privileged) 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
(admin) you automatically enter Enable mode.
The following table describes command interpreter modes and how to access them.
Enter
exit to quit from the current mode or enter logout to exit the command interpreter.
Table 80 Command Interpreter Mode Summary
MODE .DESCRIPTION
HOW TO LOGIN/
ACCESS
PROMPT
User
Commands available in this mode are
a subset of the enable mode. You can
perform basic tests and display
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
the administrator or
accounts with a
privilege of 13 or 14.
Read-only accounts
(with a privilege of 0 to
12) need to type the
enable command
and enter the enable
mode password.
sysname#
Config Commands available in this mode
allow you to configure settings that
affect the switch globally.
Type
config or
configure in the
enable mode prompt.
sysname(config)#
Command modes that follow are sub-modes of the config mode and can only be accessed from within the config
mode.
Config-vlan This is a sub-mode of the config mode
and allows you to configure VLAN
settings.
Type
vlan followed
by a number (between
1 and 4094). For
example,
vlan 10 to
configure settings for
VLAN 10.
sysname(config-vlan)#
Config-interface This is a sub-mode of the config mode
and allows you to configure port
specific settings.
Type interface
port-channel
followed by a port
number. For example,
interface port-
channel 8
to
configure port 8 on the
switch.
sysname(config-
interface)#
Config-mvr This is a sub-mode of the config mode
and allows you to configure multicast
VLAN settings.
To enter MVR mode,
enter
mvr followed by
a VLAN ID (between 1
and 4094). For
example, enter
mvr 2
to configure multicast
settings on VLAN 2.
sysname(config-mvr)#