Chapter 1 command line interface, 1 accessing the cli, 2 command line modes – Interlogix NS3702-24P-4S Command Line Guide User Manual

Page 19

Advertising
background image

-19-

Chapter 1 COMMAND LINE INTERFACE

1.1 Accessing the CLI

When accessing the management interface for the switch over a direct connection to the server’s console port, or via a Telnet

connection, the s witch can b e mana ged b y enterin g com mand ke ywords and p arameters at the prompt. Using the s witch's

command-line interface (CLI) is very similar to entering commands on a UNIX system.

This chapter describes how to use the Command Line Interface (CLI).

1.2 Command Line Modes

The CLI groups all the commands in appropriate modes according to the nature of the command. A sample of the CLI command

modes are described below. Each of the command modes supports specific software commands.

Mode-based Command Hierarchy

The Command Line Interface (CLI) groups all the commands in appropriate modes by the nature of the commands. Examples

of the CLI command modes are described below. Each of the command modes supports specific switch’s commands.

The CLI Command Modes table captures the command modes, the prompts visible in that mode and the exit method from that

mode.

Command Mode

Access Method

Prompt

Exit or Access Previous Mode

User Mode

This is the first level of

access. Perform basic tasks

and list system information.

COMMAND>

Enter Logout command

Privileged Mode

From the User Mode, enter

the enable command.

Switch#

To exit to the User Mode, enter

exit or Logout.

Global Config

Mode

From the Privileged Mode,

enter the configuration

command.

Switch (Config)#

To exit to the Privileged Mode,

enter the exit command.

Interface Config

Mode

From the Global Config

mode, enter the interface

<port#> command.

Switch (Interface <port#>)#

To exit to the Global Config

mode, enter exit.

Table 4-1

CLI Command Modes

The CLI is divide d into vari ous modes. T he comman ds i n one mo de a re not avai lable until the o perator s witches to that

particular mode. The commands available to the operator at any point in time depend upon the mode. Entering a question mark

(?) at the CLI prompt, and displayss a list of the available commands and descriptions of the commands.

Advertising