Tcl commands
tclsh
Use tclsh to enter Tcl configuration view from user view.
Syntax
tclsh
Views
User view
Predefined user roles
network-admin
Usage guidelines
From user view, you can use the tclsh command to enter Tcl configuration view, where you can execute
the following commands:
All Tcl 8.5 commands.
•
•
Comware commands. In this case, the Tcl configuration view is equivalent to the user view. You can
use Comware commands in Tcl configuration view in the same way that you do in user view.
Examples
# Enter Tcl configuration view from user view.
<Sysname> tclsh
<Sysname-tcl>
Related commands
tclquit
tclquit
Use tclquit to return from Tcl configuration view to user view.
Syntax
tclquit
Views
Tcl configuration view
Predefined user roles
network-admin
Usage guidelines
After you execute Comware commands to enter the system view or a Comware feature view, you can use
the quit command to return to the upper-level view, or use the return command to directly return to the Tcl
configuration view. You cannot use the tclquit command for these purposes.
207