Using Tcl to configure the device

If you have used a Comware command to enter a subview under Tcl configuration view, you can only use the quit command, instead of the tclquit command, to return to the upper-level view. The tclquit command has the same effect as the quit command in Tcl configuration view.

To use Tcl to configure the device:

Task

Command

Remarks

Enter Tcl configuration view from user view.

tclsh

Execute this command in user view.

Execute a Tcl command.

Tcl command

N/A

Return from Tcl configuration view to user view.

tclquit

Execute this command in Tcl configuration view.