Mellanox MLNX-OS®Command Reference Guide for SX1018HP Ethernet Managed Blade Switch

Rev 1.6.2
Mellanox Technologies
20
If you type a legal string and then you press “?” without a space character before it, then you will
either get a description of the command that you have typed so far or the possible command/
parameter completions. If you press “?” after a space character and “<cr>” is shown, this means
that what you have entered so far is a complete command, and that you may press Enter (carriage
return) to execute it.
Try the following to get started:
You can also enter “help” to view a description of the interactive help system.
Note also that the CLI supports command and/or parameter tab-completions and their shortened
forms. For example, you can enter “en” instead of the “enable” command, or “cli cl” instead of “cli
clear-history”. In case of ambiguity (more than one completion option is available, that is), then
you can click double tabs to obtain the disambiguation options. Thus, if you are in Enable mode
and you wish to learn which commands start with the letter “c”, type “c” and click twice on the tab
key to get the following:
(There are three commands that start with the letter “c”: clear, cli and configure.)
cli Configure CLI shell options
enable Enter enable mode
exit Log out of the CLI
help View description of the interactive help system
no Negate or clear certain configuration options
ping Send ICMP echo requests to a specified host
show Display system configuration or statistics
slogin Log into another system securely using ssh
switch Configure switch on system
telnet Log into another system using telnet
terminal Set terminal parameters
traceroute Trace the route packets take to a destination
switch-11a596 [standalone: master] >
?
show ?
show c?
show clock?
show clock ?
show interfaces ? (from enable mode)
switch [standalone: master] # c<tab>
clear cli configure
switch-1 [standalone: master] # c