Specifications

Voicemail-Enabled Switches SVCCLI Commands
4
ShoreTel 14 Maintenance Guide 105
erasecf - Erase CF: The erasecf command completely erases all the contents of a CF
card. Back up the CF before using this command. Examples of reasons to erase the CF are as
follows:
To correct suspected memory corruption.
To erase a CF that is both formatted and mounted. (The formatcf command is not available
for a CF card that is formatted and mounted.)
After CF erasure, the system automatically reboots. The reason for rebooting is so that, when the
system detects that the CF is empty, the system recreates the file structure and replaces all other
voicemails and other needed elements on the CF card.
Syntax: erasecf
flushlogs - Flush logs: The flushlogs command is a utility that copies certain system
logs to the CF card. In normal operation, the system performs very little logging. Only severe
problems are logged to files on the voicemail-enabled switch. The logging system is implemented
in a memory circular buffer to record the logs (and perform certain tracing tasks.) Each log file
includes its own circular buffer. These circular buffers can be forced to a log file by the flushlogs
command.
Syntax: flushlogs
formatcf - Format CF: The formatcf command formats a new CF with the Linux file
system format so that Linux recognizes it.
getsvcstatus - Get service status: The getsvcstatus command displays details
about all services on the switch. Regardless of the state of a service, this command displays it.
(Therefore, it also shows whether a service exists.) The command can display a particular service
or all services. A service name is case-sensitive, so it must be entered exactly. To see the spelling
of a service name, use the all or (*) argument getsvcstatus.
Syntax: getsvcstatus <service name> * or all
killsvc -9 - Kill service: The killsvc -9 command immediately kills all Linux
services on a voicemail-enabled switch.
Syntax: killsvc <service name> * or all
Q (or CTRL+C) - Quit svccli: The q command or pressing the Ctrl-c keys terminates the
SVCCLI and returns the user to the Linux CLI.
Syntax: q or Ctrl-c
reboot [idle] - Reboot (if switch is idle): The reboot command causes the
voicemail-enabled switch to reboot from NAND memory. With the optional idle argument, the
reboot happens only if the switch is idle.
Syntax: reboot [idle]
Rebooting a voicemail-enabled switch and restarting a voicemail-enabled switch have different
scopes. On other ShoreTel voice switches, rebooting and restarting are essentially the same.
Rebooting a voicemail-enabled switch includes the Linux kernel and everything that a kernel
reboot entails. In contrast, restarting a voicemail-enabled switch affects only the application layer.