Using the Command Line Interface (CLI)
SYSTIMAX® AirSPEED™ AP542
User Guide
147
•
Modification
–
The table name is required.
–
The table index is required – to modify the table, “index” must be the index of the entry to be modified.
–
Only the table objects that are to be modified need to be specified. Not all the table objects are required.
–
If multiple table objects are to be modified the order in which they are entered is not important.
–
If the entire table entry is to be modified, all the table objects have to be specified.
•
Enabling/Disabling
–
The table name is required.
–
The table index is required – for table enabling/disabling the index should be the index of the entry to be
enabled/disabled.
–
The entry’s new state (either “enable” or “disable”) is required.
•
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 word “delete” is required.
Using Strings
Since there are several string objects supported by the AP, 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.
Configuring the AP using CLI commands
Log into the AP using HyperTerminal
1.
Open your terminal emulation program (like HyperTerminal) and set the following connection properties:
•
Com Port: <COM1, COM2, etc., depending on your computer>
•
Baud rate: 9600
•
Data Bits: 8
•
Stop bits: 1
•
Flow Control: None
•
Parity: None
2.
Under
File > Properties > Settings > ASCII Setup
, enable the
Send line ends with line feeds
option.
Result: HyperTerminal sends a line return at the end of each line of code.
3.
Enter the CLI password (default is
public
).
“My Desk in the office”
Double Quotes
‘My Desk in the office’
Single Quotes
“My ‘Desk’ in the office”
Single Quotes within Double Quotes
‘My “Desk” in the office’
Double Quotes within Single Quotes
“Daniel’s Desk in the office”
One Single Quote within Double Quotes
‘Daniel”s Desk in the office’
One Double Quote within Single Quotes