Mellanox MLNX-OS®Command Reference Guide for SX1018HP Ethernet Managed Blade Switch
Rev 1.6.2
Mellanox Technologies
180
cli session
cli session {auto-logout <minutes> | paging enable | prefix-modes {enable | show-
config} | progress enable | terminal {length <size> | resize | type <terminal-type>
| width} | x-display full <display>}
no cli session {auto-logout | paging enable | prefix-modes {enable | show-config} |
progress enable | terminal type | x-display}
Configures default CLI options for all future sessions.
The no form of the command deletes or disables the CLI sessions.
Syntax Description minutes Configures keyboard inactivity timeout for automatic
logout. Range is 0-35791 minutes. Setting the value to
0 or using the no form of the command disables the
auto logout.
paging enable Enables text viewing one screen at a time.
prefix-modes enable |
show-config
Configures the prefix modes feature of CLI.
• “prefix-modes enable” enables prefix modes for current
and all future sessions
• “prefix-modes show-config” uses prefix modes in “show
configuration” output for current and all future sessions
progress enable Enables progress updates.
terminal length Sets the number of lines for the current terminal. Valid
range is 5-999.
terminal resize Resizes the CLI terminal settings (to match the actual
terminal window).
terminal-type Sets the terminal type. Valid options are:
• ansi
• console
• dumb
• linux
• unknown
• vt52
• vt100
• vt102
• vt220
• vt320
• xterm
terminal width Sets the width of the terminal in characters. Valid range
is 34-999.
x-display full <display> Specifies the display as a raw string, e.g localhost:0.0.
Default N/A
Modes/Context Config
History 3.1.0000
Role admin