Features and limitations
This topic contains information about CLI features and limitations.
The CLI has the following features and limitations:
- Multiple concurrent CLI sessions are allowed via SSH.
- One command is allowed per line (1024-character limit, including spaces).
- There is no continuation character for long commands. The only editing function is the Backspace key to erase the character that you just typed.
- The Up Arrow and Down Arrow keys can be used to browse through the last eight commands. The history command displays a list of the last eight commands, which you can then use as a shortcut to execute a command, as in the following example:
system > history
0 ifconfig eth0
1 readlog
2 readlog
3 readlog
4 history
system > <span className="ph">!0</span>
-state enabled
-c dthens
-i 192.168.70.125
-g 0.0.0.0
-s 255.255.255.0
-n XClarity ControllerA00096B9E003A
-r auto
-d auto
-m 1500
-b 00:09:6B:9E:00:3A
-l 00:00:00:00:00:00
system > - In the CLI, the output buffer limit is 2 KB. There is no buffering. The output of an individual command cannot exceed 2048 characters. This limit does not apply in serial redirect mode (the data is buffered during serial redirect).
- Simple text messages are used to denote command execution status, as in the following example:
system> power on
ok
system> power state
Power: On
State: System power off/State unknown
system> - The command syntax is case sensitive.
- There must be at least one space between an option and its argument. For example, ifconfig eth0 -i192.168.70.133 is incorrect syntax. The correct syntax is ifconfig eth0 -i 192.168.70.133.
- All commands have the -h, -help, and ? options, which give syntax help. All of the following examples will give the same result:
system> power -h
system> power -help
system> power ? - Some of the commands that are described in the following sections might not be available for your system configuration. To see a list of the commands that are supported by your configuration, use the help or ? option, as shown in the following examples:
system> help
system> ? - In a Flex System, some settings are managed by the CMM and cannot be modified on the XClarity Controller.
Give documentation feedback