beautypg.com

Using strings, Using the command line interface – Proxim ORiNOCO AP-2500 User Manual

Page 196

background image

196

Using the Command Line Interface

Deletion

The table name is required.

The table index is required – for table deletion the index should be the index of the entry to be deleted.

The reserved word delete or destroy is required.

There are some differences between table entry add and delete operations among the available tables.
The following tables use enable (1), disable (2), and delete (3) to change an entry’s status:

mgmtipaccesstbl

secenckeylentbl

snmptraphosttbl

wdstbl

The following tables use createAndGo (4) to add a row, active (1) to enable a row, and destroy (6) to delete a row
(other Status options for these tables include notInService (2), notReady (3), and createAndWait (5)):

aaaAuthSubTable

aaaSubCurrTable

acIpRangeTable

datSessionTable

dhcpLeaseTable

passthroughDNSTable

passthroughIPTable

urlFilteringIPTable

urlFilteringDNSTable

In the following example, a new entry (index 1) is added to the Passthrough IP Table:

[Device Name]> set passthroughIPTable 1 passthroughIPTableAddress 123.33.11.1

passthroughIPTableStatus 4

Using Strings

Since there are several string objects supported by the AP-2500 device, a string delimiter is required for the strings to
be interpreted correctly by the command line parser. For this CLI implementation, the single quote or double quote
character can be used at the beginning and at the end of the string.
For example:

[Device Name]>

set sysname Lobby - Does not need quote marks

[Device Name]>

set sysname “Front Lobby” - Requires quote marks.

The scenarios supported by this CLI are:

The string delimiter does not have to be used for every string object. The single quote or double quote only has to be
used for string objects that contain blank space characters. If the string object being used does not contain blank
spaces, then the string delimiters, single or double quotes, mentioned in this section are not required.

“My Desk in Nieuwegein”

Double Quotes

‘My Desk in Nieuwegein’

Single Quotes

“My ‘Desk’ in Nieuwegein”

Single Quotes within Double Quotes

‘My “Desk” in Nieuwegein’

Double Quotes within Single Quotes

“Daniel’s Desk in Nieuwegein”

One Single Quote within Double Quotes

‘Daniel”s Desk in Nieuwegein’

One Double Quote within Single Quotes