•
For Comware commands, you can enter ? to obtain online help or press Tab to complete an
abbreviated command. For more information, see
•
The cli command is a Tcl command, so you cannot enter ? to obtain online help or press Tab to
complete an abbreviated command.
•
Successfully executed Comware commands are saved to command history buffers. You can
use the upper arrow or lower arrow key to obtain executed commands.
•
To execute multiple Comware commands in one operation:
Enter multiple Comware commands separated by semi-colons to execute the commands in
the order they are entered. For example, ospf 100; area 0.
Specify multiple Comware commands for the cli command, quote them, and separate them
by a space and a semicolon. For example, cli "ospf 100 ; area 0".
Specify one Comware command for each cli command and separate them by a space and
a semicolon. For example, cli ospf 100 ; cli area 0.
To execute Comware commands in Tcl configuration view:
Step
Enter Tcl configuration view
1.
Execute Comware
2.
commands directly.
Execute Comware
3.
commands by using the cli
command.
"Using the
Command
tclsh
Command
cli command
160
CLI."
Remarks
N/A
Use either method.
If you execute a Comware
command directly, a Tcl command
is executed when the Tcl
command conflicts with the
Comware command.
If you execute a Comware
command by using the cli
command, the Comware
command is executed when it
conflicts with a Tcl command.