TCL Scripting
Table 22-3
append
case
echo
for
incr
lindex
lrange
proc
return
string
tset
upvar
Entering TCL Commands
You must enter the TCL commands using the TCL shell. To open the TCL shell, perform this task in
privileged mode:
Task
Open the TCL shell.
This example shows how to open the TCL shell:
Console> (enable) tclsh
Console> (tclsh)(enable)
To close the TCL shell, perform this task in privileged mode:
Task
Close the TCL shell.
This example shows how to close the TCL shell:
Console> (enable) tclquit
Console> (enable)
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
22-26
TCL Commands
array
catch
error
foreach
info
linsert
lreplace
puts
scan
subst
tswitch
while
Command
tclsh
Command
tclquit
Chapter 22
auto answer
concat
eval
global
join
list
lsearch
regexp
source
tformat
unset
Administering the Switch
break
continue
expr
if
lappend
llength
lsort
regsub
split
trename
uplevel
OL-8978-04