Using Tcl; Tcl Usage Guidelines And Restrictions; Entering Tcl Configuration View From User View; Returning From Tcl Configuration View To User View - HP 10500 Series Configuration Manual

Hide thumbs Also See for 10500 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:
All 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.

Tcl usage guidelines and restrictions

When you use Tcl, follow these guidelines and restrictions:
You can apply Tcl environment variables to Comware commands.
You can enter multiple Comware commands separated by semi-colons to execute the commands in
the order they are entered.
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.
Command
tclsh
Command
tclquit
242
Remarks
You can achieve the same result by executing
the quit command.

Advertisement

Table of Contents
loading

Table of Contents