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 with different access methods (Telnet or SSH). At most, two Telnet command-line sessions can be active at any time.NoteThe number of Telnet sessions is configurable; valid values are 0, 1, and 2. The value 0 means that the Telnet interface is disabled.
- One command is allowed per line (160-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 IMM2A00096B9E003A
-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).
- The output of a command is displayed on the screen after the command has completed execution. This makes it impossible for commands to report real-time execution status. For example, in the verbose mode of the flashing command, the flashing progress is not shown in real time. It is shown after the command completes execution.
- 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 IMM2.
Give feedback