Command-Line Interface Modes
25
Command-Line Interface Modes
The CLI groups all the commands into modes according to the nature of the commands. This section
describes the CLI command modes for the D-Link DES-3226L switch. Each of the command modes
supports specific D-Link DES-3226L software commands.
Table 6 lists the command modes and the prompts visible in that mode. It also explains how to enter or
exit each mode.
Table 6.
CLI Command Modes
Command
Mode
Access Method
Prompt
Exit or Access
Previous Mode
User EXEC
Mode
This is the first level of
access. Perform basic
tasks and list system
information.
Switch>
Enter Logout com-
mand
Privileged
EXEC
Mode
From the User EXEC
mode, enter
enable
Switch#
To exit to the User
EXEC mode, enter
exit
or press
Ctrl-Z
.
VLAN
Mode
From the Privileged
EXEC mode, enter
vlan database
Switch (Vlan)#
To exit to the Privi-
leged EXEC mode,
enter the
exit
com-
mand, or press
Ctrl-Z
to switch to
the User EXEC
mode.
Global
Config
Mode
From the Privileged
EXEC mode, enter
configure
Switch (Config)#
To exit to the Privi-
leged EXEC mode,
enter the
exit
com-
mand, or press
Ctrl-Z
to switch to
the User EXEC
mode.
Interface
Config
Mode
From the Global Config
mode, enter
interface
<slot/port>
Switch (Interface <slot/port>)#
To exit to the Global
Config mode, enter
the
exit
command.
To return to the User
EXEC mode, enter
Ctrl-Z
.
Line Config
Mode
From the Global Config
mode, enter
lineconfig
Switch (line)#
To exit to the Global
Config mode, enter
the
exit
command.
To return to the User
EXEC mode, enter
Ctrl-Z
.
Summary of Contents for DES-3226L
Page 2: ......
Page 11: ...List of Figures 11 List of Figures Figure 1 Mode based CLI 26 Figure 2 Syntax Error Message 28...
Page 12: ...12 D Link DES 3226L Command Line Reference...
Page 14: ...14 D Link DES 3226L Command Line Reference...
Page 16: ...16 D Link DES 3226L Command Line Reference...
Page 18: ...18 D Link DES 3226L Command Line Reference...
Page 24: ...24 D Link DES 3226L Command Line Reference...
Page 50: ...50 D Link DES 3226L Command Line Reference...
Page 82: ...82 D Link DES 3226L Command Line Reference...
Page 104: ...104 D Link DES 3226L Command Line Reference...