Using the commands, Aliases, Using the – Allied Telesis AR700 SERIES Software Release 2.7.1 User Manual

Page 18

Advertising
background image

18

AR700 Series Router User Guide

Software Release 2.7.1
C613-02047-00 REV A

Using the Commands

You control the router with commands described in this document and in the
Software Reference. While the keywords in commands are not case sensitive,
the values entered for some parameters are (especially passwords). The router
supports command line editing and recall. Command line editing functions
and keystrokes are shown in

Table 2

.

The router assumes that the width of the terminal screen is 80 characters, and
performs command line wrapping at the 80th column regardless of the setting
of the terminal. To execute a command the cursor does not need to be at the
end of the line. The default editing mode is insert mode. Characters are
inserted at the cursor position and any characters to the right of the cursor are
pushed to the right to make room. In overstrike mode, characters are inserted
at the cursor position and replace any existing characters.

Commands are limited to 1000 characters, excluding the prompt. Path names
of up to 256 characters, including file names, and file names up to 16 characters
long, with extensions of 3 characters, are supported.

Aliases

The command line interface supports aliases. An alias is a short name for an
often-used longer character sequence. When the user presses [Enter] to execute
the command line, the command processor first checks the command line for
aliases and substitutes the replacement text. The command line is then parsed
and processed normally. Alias substitution is not recursive—the command line
is scanned only once for aliases.

Aliases are created and destroyed using the commands:

add alias=name string=substitution

delete alias=name

Table 2: Command line editing functions and keystrokes .

Function

VT100 Terminal

Dumb terminal

Move cursor within command line

←, →

Not available

Delete character to left of cursor

[Delete] or [Backspace]

[Delete] or [Backspace]

Toggle between insert/overstrike

[Ctrl/O]

Not available

Clear command line

[Ctrl/U]

[Ctrl/U]

Recall previous command

↑ or [Ctrl/B]

[Ctrl/B]

Recall next command

↓ or [Ctrl/F]

[Ctrl/F]

Display command history

[Ctrl/C] or
SHOW PORT HISTORY

[Ctrl/C]
or SHOW PORT HISTORY

Clear command history

RESET PORT HISTORY

RESET PORT HISTORY

Recall matching command

[Tab] or [Ctrl/I]

[Tab] or [Ctrl/I]

Advertising