Command formatting, Command line interface features, Command line syntax conventions – Allied Telesis AT-S84 User Manual

Page 316

Advertising
background image

Chapter 30: Getting Started with the Command Line Interface

316

Section I: Basic Features

Command Formatting

The AT-S81 command line interface follows same formatting conventions
for all of the command modes. There are command line interface features
which apply to the general use of the command line and command syntax
conventions which apply when entering the commands. See the following
sections.

Command Line

Interface

Features

The following features are supported in the command line interface:

ˆ

Command history - Use the up and down arrow keys.

ˆ

Context-specific help - Press the question mark key, ?, to see a list of
legal parameters or display all of the available commands for a
particular command mode. There are two formatting options:

– command ? - List the keywords or arguments that are required by

a particular command. A space between a command and a
question mark is required.

– abbreviated command? - Provides a list of commands that begin

with a particular character string. There is no space between the
command and the question mark.

ˆ

Keyword abbreviations - Any keyword can be recognized by typing an
unambiguous prefix, for example, type “sh” and the software responds
with “show”.

ˆ

Tab key - Pressing the Tab key fills in the rest of the keyword. For
example, typing “di” and pressing the Tab key enters “disable” on the
command line.

Command Line

Syntax

Conventions

The following table describes the conventions used in the command
interface.

Table 14. Command Line Syntax Conventions

Convention

Description

Example

<string>

A string of alphanumeric
characters

Switch-24

<int>

Integer 202

<ip>

IP address

192.168.0.1

<interface>

Port instance

Ethernet1/15

<mask>

Subnet mask

255.255.240.0

Advertising