Mellanox MLNX-OS User Manual for SX1018HP Ethernet Managed Blade Switch
Rev 2.10
Mellanox Technologies
28
Mellanox Technologies Confidential
3 User Interfaces
3.1 Command Line Interface (CLI) Overview
MLNX-OS® is equipped with an industry-standard CLI. The CLI is accessed through SSH or
Telnet sessions, or directly via the console port on the front panel (if it exists).
3.1.1 CLI Modes
The CLI can be in one of following modes, and each mode makes available a certain group (or
level) of commands for execution. The different CLI configuration modes are:
Table 11 - CLI Modes and Config Context
Mode/Context Description
Standard When the CLI is launched, it begins in Standard mode. This is the
most restrictive mode and only has commands to query a
restricted set of state information. Users cannot take any actions
that directly affect the system, nor can they change any configu-
ration.
Enable The enable co
mm
and moves the user to Enable mode. This
mode offers commands to view all state information and take
actions like rebooting the system, but it does not allow any con-
figurations to be changed. Its comman
ds are a superset of those
in Standard mode.
Config The configure termi
nal command moves the user from
Enable mode to Config mode. Config mode is allowed only for
user accounts in the “admin” role (or capabilities). This mode has
a full unrestricted set of commands to view anything, take any
action, and change any configuration. Its commands are a super-
set of those in Enable mode. To return to
Enable mode, enter
exit or
no configure.
Note that moving directly from/to St
andard mode to/from Config
mode is not possible.
Config Interface Management Configuration mode for management interface mgmt0, mgmt1
and lo
opback.
Config interface ethernet Configuration mode for Ethernet interface.
Config Interface Port Channel Configuration mode for Port channel
(LAG).
Config Vlan Co
nfiguration mode for VLAN.
Any Command Mode Several commands such as “show” can be
applied within any
conte
xt.










