134
{ Enter multiple Comware commands separated by semi-colons to execute the commands in
the order they are entered. For example, rip 1; network 10.1.1.1.
{ Specify multiple Comware commands for the cli command, quote them, and separate them
by a space and a semicolon. For example, cli "rip 1 ; network 10.1.1.1".
{ Specify one Comware command for each cli command and separate them by a space and a
semicolon. For example, cli rip 1 ; cli network 10.1.1.1.
To execute Comware commands in Tcl configuration view:
Step Command Remarks
1. Enter Tcl configuration view
tclsh
N/A
2. Execute Comware
commands directly.
Command
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.
3. Execute Comware
commands by using the cli
command.
cli
command