Software Version 2.8.1

15

Command Line Interface (CLI)

Enhancements

The CLI has been enhanced in the following ways:

More flexibility in Separating Parameters and Values

Additional Shortcuts when Editing

New command show command history that displays past commands. Please note that it replaces the Ctrl-Cshortcut.

You can now use the create config command to also set the router or switch to use the new configuration file.

This section describes the enhancements. The new and modified commands to implement them are described in Command Reference Updates.

More flexibility in Separating Parameters and Values

The CLI has been enhanced to give you the flexibility of choosing whether the equals sign should be required between parameters and their related values in the syntax.

Parameters are keywords in a command that define the object or details of the action. Parameter values can be numbers or text, or can come from a list of items. Now you can set the syntax so that parameters and values can be separated by either one of the following:

an equals sign (=)

a single space

The set command assignmentoperator command lets you change the syntax. When using aliases, we suggest you use the = sign in the syntax to link parameters with their values. Otherwise, if you separate a parameter with a space, a matching alias could erroneously be substituted for the value. Note that certain command handlers, such as STT, PERM, and ACC, always require the = sign.

Parts of a Command

A command is a sequence of keywords and values that define an action for the router or switch to perform. The Software Reference uses terms in the following figure and table when describing commands.

keywords

add ip rip interface=vlan2 auth=md5 ip=ipadd

action

 

 

 

 

 

 

 

 

 

value

option

 

 

 

 

 

 

 

 

 

 

 

 

 

 

parameters

placeholder

cli-command-parts

Software Version 2.8.1 C613-10477-00 REV B

Page 15
Image 15
Allied Telesis AT-8800 manual Command Line Interface CLI Enhancements, More flexibility in Separating Parameters and Values