Using Tcl; Benefits And Restrictions; Entering Tcl Configuration View From User View; Returning From Tcl Configuration View To User View - HP 5130 EI series Configuration Manual

Hide thumbs Also See for 5130 EI series:
Table of Contents

Advertisement

Using Tcl

Comware V7 provides a built-in tool command language (Tcl) interpreter. From user view, you can use
the tclsh command to enter Tcl configuration view to execute the following commands:
Tcl 8.5 commands.
Comware commands.
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. For example, you can perform the
following tasks:
Use the system-view command to enter system view to configure features.
U se the quit command to return to the upper-level view.

Benefits and restrictions

Tcl provides the following benefits:
Tcl environment variables can be applied to Comware commands.
You can enter multiple Comware commands separated by semi-colons to execute the commands in
the order they are entered.
Tcl has the following limitations:
No online help information is provided for Tcl commands.
You cannot press Tab to complete an abbreviated Tcl command.
Successfully executed Tcl commands are not saved to command history buffers.

Entering Tcl configuration view from user view

Task
Enter Tcl configuration view from user view.

Returning from Tcl configuration view to user view

Task
Return from Tcl configuration view
to user view.
Task
Return from Tcl configuration view
to user view.
Command
tclsh
Command
tclquit
Command
tclquit
129
Remarks
You can achieve the same result by executing
the quit command.
Remarks
You can achieve the same result by
executing the quit command.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents