HP MSR2000/3000/4000 Router Series Fundamentals Command Reference

253
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 they are used 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
To return from Tcl configuration view to user view, you can also use the quit command.
To return to the upper-level view after you execute Comware commands to enter the system view or a
Comware feature view, use the quit command. You cannot use the tclquit command for this purpose.