
Lantronix
SISPM1040-582-LRT CLI Reference
33757 Rev. J
Page
7
of
272
2.3 CLI 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. To see the commands of the mode, enter a “?” after the system prompt,
then all commands will be listed in the screen. The command modes are listed as below:
Command Modes
Mode
Prompt
Command Function in this Mode
exec
<sys_name>#
Display current configuration, diagnostics,
maintenance
config
<sys_name>(config)#
Configure features other than those below
Config-if
<sys_name>(config-interface)#
Configure ports
Config-if-vlan
<sys_name>(config-if-vlan)#
Configure static vlan
Config-line
<sys_name>(config-line)#
Line Configuration
Config-impc-profile
<sys_name>(config-impc-profile)#
IPMC Profile
Config-snmp-host
<sys_name>(config-snmp-host)#
SNMP Server Host
Config-stp-aggr
<sys_name>(config-stp-aggr)#
STP Aggregation
Commands reside in a specific mode and can only be run in that mode. To run a particular command, you must
change to the appropriate mode. The command modes are organized as a tree, and you start in Exec mode.
The following table explains how to change from one mode to another.
2.4 Changing Between Command Modes
Mode
Enter Mode
Leave Mode
exec
--
--
config
Configure terminal
exit
config-interface
Interface <port-type> <port-type-list> exit
config-vlan
Interface vlan <vlan_list>
exit
2.5 Command Line Messages
Message
:
Wrong username or password!
Recovery: Re-try the login with the correct username and password credentials.
Message
:
There are too many users in the system.
Recovery: Try to log in later.
Message
:
% Incomplete command.
Recovery: Try entering the command again with all required parameters.
Message
:
% Invalid word detected at '^' marker.
Recovery: Try entering the command again with correctly entered parameters.