11
Now you can manage your switch with CLI commands through Telnet connection.
Note:
You can refer to Chapter 9 User Manage Commands for detailed commands information of the
Telnet connection configuration.
1.2 CLI Command Modes
The CLI is divided into different command modes: User EXEC Mode, Privileged EXEC Mode,
Global Configuration Mode, Interface Configuration Mode and VLAN Configuration Mode.
Interface Configuration Mode can also be divided into Interface gigabitEthernet, Interface
link-aggregation and some other modes, which is shown as the following diagram.
The following table gives detailed information about the Accessing path, Prompt of each mode and
how to exit the current mode and access the next mode.
Mode Accessing Path Prompt Logout or Access the next mode
User EXEC
Mode
Primary mode once it
is connected with the
switch.
TL-SG3424>
Use the exit command to disconnect the
switch (except that the switch is
connected through the Console port).
Use the enable command to access
Privileged EXEC mode.
Privileged
EXEC Mode
Use the enable
command to enter this
mode from User EXEC
mode.
TL-SG3424#
Use the exit command to disconnect the
switch (except that the switch is
connected through the Console port).
Enter the disable command to return to
User EXEC mode.
Enter configure command to access
Global Configuration mode.
Global
Configuration
Mode
Use the configure
command to enter this
mode from Privileged
EXEC mode.
TL-SG3424(config)#
Use the exit or the end command or
press Ctrl+Z to return to Privileged
EXEC mode.
Use the interface gigabitEthernet port
or interface range gigabitEthernet
port-list command to access interface
Configuration mode.
Use the vlan vlan-list to access VLAN
Configuration mode.
Interface
Configuration
Mode
Use the interface
gigabitEthernet port
or interface range
gigabitEthernet
port-list command to
enter this mode from
Global Configuration
mode.
TL-SG3424(config-if)
# or
TL-SG3424(config-if-
range)#
Use the end command or press Ctrl+Z
to return to Privileged EXEC mode.
Enter the exit or the # command to
return to Global Configuration mode.
A port number must be specified in the
interface command.