Using the command-line interface, 1 command syntax, 2 command conventions – Kontron AT890X Full-Size CLI User Manual

Page 26: Using the command-line interface - 2, 1 command syntax - 2 1.2 command conventions - 2

Advertising
background image

Using the Command-Line Interface

AT8901/2/3

AT8901/2/3 CLI Reference Manual

Page 1 - 2

1.

Using the Command-Line Interface

The command-line interface (CLI) is a text-based way to manage and monitor the
system. You can access the CLI by using a direct serial connection or by using a
remote logical connection with telnet or SSH.

This chapter describes the CLI syntax, conventions, and modes. It contains the
following sections:

1.1 “Command Syntax” on page 1 - 2

1.2 “Command Conventions” on page 1 - 2

1.3 “Slot/Port Naming Convention” on page 1 - 4

1.4 “Using the “No” Form of a Command” on page 1 - 5

1.5 “Command Modes” on page 1 - 5

1.6 “Using CLI Help” on page 1 - 9

1.7 “Accessing the CLI” on page 1 - 10

1.1

Command Syntax

A command is one or more words that might be followed by one or more parameters.
Parameters can be required or optional values.

Some commands, such as

show network

or

clear vlan,

do not require parameters.

Other commands, such as

network parms

, require that you supply a value after the

command. You must type the parameter values in a specific order, and optional
parameters follow required parameters. The following example describes the

network

parms

command syntax:

Format

network parms <ipaddr> <netmask> [gateway]

network parms

is the command name.

<ipaddr>

and

<netmask>

are parameters and represent required values that you

must enter after you type the command keywords.

[gateway]

is an optional parameter, so you are not required to enter a value in

place of the parameter.

The CLI Reference lists each command by the command name and provides a brief
description of the command. Each command reference also contains the following
information:

Format shows the command keywords and the required and optional parameters.

Mode identifies the command mode you must be in to access the command.

Default shows the default value, if any, of a configurable setting on the device.

The

show

commands also contain a description of the information that the command

shows.

1.2

Command Conventions

In this document, the command name is in

bold

font. Parameters are in

italic font

.

You must replace the parameter name with an appropriate value, which might be a
name or number. Parameters are order dependent.

Advertising