Shiva Logo

Command Shell

All Shiva devices have a command shell from which you can manage the devices. The command shell lets a network administrator:

  • Configure a Shiva device and edit the configuration file

  • Display information about a Shiva device (for example, the status of all slots or traffic statistics)

  • Perform actions on a Shiva device (for example, rebooting the device)

You can use the command shell instead of Shiva Configurator, Shiva Net Manager, or Shiva Net Manager for UNIX. However, the command shell may be more difficult to use.

Note: The firmware that implements the command shell resides in the Shiva device.

For more information, see the following topics:

Accessing the Command Shell

Editing the Command Line

Entering Commands

Command Shell Security

Accessing the Command Shell

To access the command shell, you can use:

  • Any computer that uses the Internet Protocol (IP) to communicate with the Shiva device. This method uses a Telnet connection to access the command shell.

  • A Macintosh computer that uses the AppleTalk protocol to communicate with the Shiva device. This method uses the AppleTalk Data Stream Protocol (ADSP) to access the command shell.

  • A PC that uses the Internetwork Packet Exchange (IPX) protocol to communicate with the Shiva device. This method uses Shiva Dial-Out to access the command shell.

  • A terminal or a computer running a terminal emulator that is directly connected to a Universal Asynchronous Receiver Transmitter (UART) port on the Shiva device.

  • Dial-in access over a Wide Area Network (WAN) interface, using a terminal emulator instead of Shiva's dial-in software.

  • An analog modem call to the UART port.

Note: You cannot use the AppleTalk ADSP Tool to establish multiple, simultaneous command shell sessions.

Editing the Command Line

When you enter commands at the command shell prompt, you can edit the command line using the keystrokes in this table.

Keys Meaning

Ctrl-D or Ctrl-Z

If entering command parameters, these keystrokes cancel the command. Otherwise, they terminate the command shell.

Ctrl-H or Delete

Deletes the character to the left of the cursor.

Ctrl-U

Clears the command line.

Ctrl-W

Deletes the word to the left of the cursor.

Ctrl-X

Clears the command line.

Enter

Enters the command line.

Entering Commands

When you enter commands, you can use a shorthand version of the command. You need only enter as many letters as are required to identify the command uniquely. For example, instead of entering

show configuration

you can enter:

sh co

The following table describes the commands that help you when using the command shell. Commands are not case-sensitive.

Command Requires root Description

!!

No

Repeats the previous command.

?

No

Displays a list of the commands that you can execute.

help

No

Displays a list of the commands that you can execute.

quit

No

Terminates the command shell session.

Command Shell Security

The command shell provides three levels of security:

  • Root or supervisor privileges that let you execute all commands

  • User privileges that let you execute a subset of the commands

  • View Configuration privileges that provide more access than the user privileges, but less than the root or supervisor privileges

Related Information

Network Management

Shiva Network Management Tools: Overview

Configuration File Parameters

[ Top of Page... ]

[ Back to Shiva Configurator Directory ]