Proxim AP-2500 User Manual

Page of 250
193
Using the Command Line Interface
Parameter Control Commands
The following sections cover each CLI Command, and include several tables showing parameter properties. The two 
Parameter Control Commands are show and set. These allow you to view (show) all parameters and statistics, and to 
change (set) parameters. 
show - To see any Parameter or Statistic values, you specify a single parameter, a Group, or a Table. Fore more 
details, refer to "set and show command examples" later in this guide.
set - Use this CLI Command to change parameter values. You can use a single CLI Statement to modify Tables, or 
modify each parameter separately. Fore more details, refer to “set and show command examples” later in this 
guide.
“set” and “show” Command Examples
In general, you will use the CLI "show" Command to view current parameter values, and use the CLI "set" Command 
to change parameter values. As shown in the following six examples, parameters may be set individually, and all 
parameters for a given table can be set with a single statement. 
Example 1 - Set the Access Point IP Address Parameter
Syntax:
[Device Name]>set <parameter name> <parameter value>
 
Example:
[Device Name]>
 set ipaddr 10.0.0.12
Result: IP Address will be changed when you reboot the Access Point. The CLI reminds you when rebooting is 
required for a change to take effect. To reboot immediately, enter reboot 0 (zero) at the CLI prompt.
Example 2 - Create a table entry or row
Use 0 (zero) as the index to the table when creating an entry. When creating a table row, only the mandatory table 
elements are required (comment is usually an optional table element). There are other optional table elements, which, 
if not entered, the default value applies. 
Syntax:
[Device Name]>set <table name> <table index> <element 1> <value 1> …
      <element n> <value n>
Example:
[Device Name]>
 set mgmtipaccesstbl 0 ipaddr 10.0.0.10 ipmask 255.255.0.0
Result: The IP Access Table (Index 0) “IP Address” and “IP Mask” parameters are assigned 10.0.0.10 and 
255.255.0.0, respectively.
NOTE
Some tables use a different syntax. See 
 for details.
Example 3 - Modify a table entry or row
Use the index to be modified and the table elements you would like to modify. For example, suppose the SNMP IP 
Access table has one entry and you wanted to modify the IP Address:
[Device Name]>set mgmtipaccesstbl 1 ipaddr 10.0.0.11
You can also modify several elements in the table entry. Enter the index number and specific table elements you would 
like to modify. Hint: Use the search Command to see the elements that belong to the table.
[Device Name]>set mgmtipaccesstbl 1 ipaddr 10.0.0.12 submask 255.255.255.248 
          cmt “First Row”