Specifications
Voicemail-Enabled Switches Switch Utilities
4
ShoreTel 14 Maintenance Guide 95
To open stcli:
Access the Maintenance port, as described in Accessing Utilities from the Serial Port on page 91.
If the window displays the Linux prompt, enter stcli on the command line.
Access through SSH and log in as the administrator, as described in Accessing Utilities from SSH
on page 92.
Exiting stcli returns the user to the login prompt.
CLI
The command-line interface (CLI) accesses diagnostic tools, manipulates debug setting levels, and
displays system information. Cli can be run from any remote SSH session or from Windows prompts
originating from the local host, the controlling Distributed server, or the Main ShoreTel server.
To access cli, do one of the following:
Open a Linux BASH shell through the root account (see Accessing Utilities from SSH on page 92)
and enter cli.
Open stcli and enter gotoshell at the command prompt.
To display a list of executable commands, enter commands on the command line. For a description of
the CLI commands, see CLI Commands on page 107.
To perform actions on cli variables, do one of the following:
To view all of cli variables and their current values, enter variables.
To view a variable current value, enter the variable name
To change a variable’s current value, enter the variable name and new value.
To specify the destination of switch trace information, type one of the following commands:
trace_redirect 0 (Sends trace information to the Maintenance port)
trace_redirect 1 (Sends trace information to the current device)
Only trace streams that are sent to the maintenance port can be redirected to an SSH terminal
session; this prevents trace stealing from other SSH terminal sessions. All traces can be reverted to
the maintenance port, making them accessible to SSH terminals.
To exit the CLI, do the following:
Type quit or enter the letter q at the CLI prompt.
Type Ctrl-c if the CLI was opened from the Linux BASH shell.
Note
Trace information is sent to the STTS log on the voicemail-enabled switch.










