2-1175
Catalyst 6500 Series Switch Command Reference—Release8.1
78-15474-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
tclsh
tclsh
To start a tool command language (TCL) shell, use the tclsh command.
tclsh
Syntax Description This command has no keywords or arguments.
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines TCL is a programmable, text-based language that allows you to write command procedures that expand
the capabilities of the built-in set of commands. It is used primarily with interactive programs such as
text editors, debuggers, illustrators, and shells.
TCL provides a standard syntax so that once you know TCL, you can issue commands to any TCL-based
application. Using the utility commands and the general programming interface of TCL, you can
implement a few low-level commands and build them into more complex commands.
When you start a TCL shell, the switch prompt changes from Con sol e> (ena ble ) to
Console> (tclsh)(enable).
All TCL commands and constructions are available once the TCL shell is active.
For a list of TCL commands and constructions, refer to the “Administering the Switch” chapter of the
Catalyst 6500 Series Switch Software Configuration Guide.
Examples This example shows how to start a TCL shell:
Console> (enable) tclsh
Console> (tclsh)(enable)
Related Commands tclquit