Automatically Completing a Command
A CLI command always consists of several words. You can easily enter a command by typing first word(s)
or letter(s) and then pressing Tab or Ctrl+i instead of typing the whole command word by word.
▶
To have a command completed automatically:
1) Type initial letters or words of the desired command. Make sure the letters or words you typed are
unique so that the CLI can identify the command you want.
2) Press Tab or Ctrl+i until the complete command appears.
3) If there are more than one possible commands, a list of these commands is displayed. Then type the
full command.
▶
Examples:
•
•
Example 1 (only one possible command):
a.
a. Type the first word and the first letter of the second word of the "reset
factorydefaults" command -- that is, reset f.
b. Then press Tab or Ctrl+i to complete the second word.
b.
•
•
Example 2 (only one possible command):
a. Type the first word and initial letters of the second word of the "security
a.
strongPasswords" command -- that is, security str.
b.
b. Then press Tab or Ctrl+i to complete the second word.
•
•
Example 3 (more than one possible commands):
a. Type only the first two words of the "network ipv4 gateway xxx.xxx.xxx.xxx"
a.
command -- that is, network ipv4.
b. Then press Tab or Ctrl+i one or two times, a list of possible commands displays as shown
b.
below.
gateway
c.
c. Type the full command "network ipv4 gateway xxx.xxx.xxx.xxx", according
to the onscreen command list.
Multi-Command Syntax
To shorten the configuration time, you can combine various configuration commands in one command
to perform all of them at a time. All combined commands must belong to the same configuration type,
such as commands prefixed with network, user modify, sensor externalsensor and so on.
A multi-command syntax looks like this:
<configuration type> <setting 1> <value 1> <setting 2> <value 2>
<setting 3> <value 3> ...
interface
staticRoutes
329
Need help?
Do you have a question about the Server Technology PRO3X and is the answer not in the manual?