Command line syntax, Command line syntax -2 – Verilink 8100A (34-00237) Product Manual User Manual

Page 222

Advertising
background image

6-2

8 0 0 0 S e r i e s

Command Line Syntax

The CLI supports the following syntax:

COMMAND parameters...

[]

encloses optional parameters

<>

surrounded words are replaced by the named
value

()

surrounded parameters are grouped together

“string” use the quoted parameter string exactly

|

separates a choice of parameters

The following is a syntax example:

set wan ip address <ip-address> <net-mask> [priority]
[<slot> [<interface> [<port> [<connection>]]]]

Using the above syntax, you would type the following command:

set wan ip address 192.3.4.5 255.255.255.0 2 0 0 1

The required parameters are IP address <192.3.4.5> and netmask
<255.255.255.0>. The optional parameters are the slot (2), interface (0), port
(0) and connection (1).

The CLI will match abbreviated command words down to the minimum
number of characters necessary to distinguish between command words. You
cannot abbreviate any parameter words of a command. For example, the
following commands are equivalent:

set bridge stp global off

se brid st glob off

se br s g off

The command and its parameters are NOT case sensitive. However, you can
put quotes around a parameter so you can embed spaces and preserve the case
for things like passwords and names.

For example:

set time string “Central Time Zone”

For the commands listed below, the following will apply:

Slot will always be 0 to 3, where 0 is the WAN port, 1 is the Ethernet port, 2
is the USI port and 3 is the POTs port.

Interface will always be 0.

Port will always be from 0 to 7 except for the POTS CLI command where
the values can range between 0 to 23 (the upper-level number is dependant on
the number of POTS ports associated with the specific IAD).

Connection will always be 0 to 7.

exit

Quits the command line interface and returns to the menu system.

exit

help

Refer to CLI Help above.

Advertising