Command syntax, Features and limitations – Lenovo ThinkServer TD200 User Manual

Page 82

Advertising
background image

Command syntax

Read the following guidelines before you use the commands:

v

Each command has the following format:

command [arguments] [-options]

v

The command syntax is case sensitive.

v

The command name is all lowercase.

v

All arguments must immediately follow the command. The options immediately
follow the arguments.

v

Each option is always preceded by a hyphen (-). An option can be a short option
(single letter) or a long option (multiple letters).

v

If an option has an argument, the argument is mandatory, for example:

ifconfig eth0 -i 192.168.70.34 -g 192.168.70.29 -s 255.255.255.0

where ifconfig is the command, eth0 is an argument, and -i, -g, and -s are
options. In this example, all three options have arguments.

v

Brackets indicate that an argument or option is optional. Brackets are not part of
the command that you type.

Features and limitations

The CLI has the following features and limitations:

v

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.

Note:

The number of Telnet sessions is configurable; valid values are 0, 1, and 2.
The value 0 means that the Telnet interface is disabled.

v

One command is allowed per line (160-character limit, including spaces).

v

There is no continuation character for long commands. The only editing function
is the Backspace key to erase the character that you just typed.

v

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> !0
-state enabled
-c dthens
-i 192.168.70.125
-g 0.0.0.0
-s 255.255.255.0
-n IMMA00096B9E003A
-r auto
-d auto
-m 1500
-b 00:09:6B:9E:00:3A
-l 00:00:00:00:00:00
system>

76

Integrated Management Module: User Guide

Advertising
This manual is related to the following products: