Chapter 1 Using The Command Line Interface; 1.1 Cli Modes - Mellanox Technologies Mellanox SX1018 Command Reference Manual

Ethernet managed blade switch
Hide thumbs Also See for Mellanox SX1018:
Table of Contents

Advertisement

1
Using the Command Line Interface
This chapter explains how to use the command line interface (CLI) of MLNX-OS SwitchX®.

1.1 CLI Modes

The CLI can be in one of three modes, and each mode makes available a certain group (or level) of
commands for execution. The different CLI configuration modes are:
Table 5 - CLI Modes and Config Context
Mode/Context
Standard
Enable
Config
Config Interface Management
Config interface ethernet
Config Interface Port Channel
Config Vlan
Any Command Mode
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.
The "enable" command 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-
figuration to be changed. Its commands are a superset of those in
Standard mode. To return to Standard mode, enter "disable".
The "configure terminal" command moves the user from Enable
mode to Config mode. Config mode is allowed only for user
accounts in the "admin" role (or capabilities) – see "User Roles
(Capabilities)". This mode has a full unrestricted set of com-
mands to view anything, take any action, or change any configu-
ration. Its commands are a superset of those in Enable mode. To
return to Enable mode, enter "exit" or "no configure". Note that
moving directly from/to Standard mode to/from Config mode is
not possible.
Configuration mode for management interface mgmt0, mgmt1
and loopback.
Configuration mode for Ethernet interface.
Configuration mode for Port channel (LAG).
Configuration mode for VLAN.
Several commands such as "show" can be applied within any
context.
Description
Mellanox Technologies
Rev 1.6.2
18

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sx1018hp

Table of Contents