Proxim AP-4000 User Manual

Page 167

Advertising
background image

Command Line Interface (CLI)

AP-4000 Series User Guide

CLI Command Types

167

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

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 a table when creating an entry. When creating a table row, only the mandatory table elements
are required (comment is usually an optional table element). For optional table elements, the default value is generally
applied if you do not specify a value.

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

A new table entry is created for IP address 10.0.0.10 with a 255.255.0.0 subnet mask.

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 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 ipmask 255.255.255.248
cmt “First Row”

Example 4 - Enable, Disable, or Delete a table entry or row

The following example illustrates how to manage the second entry in a table.

Syntax:
[Device-Name]>set <Table> index status <enable, disable, delete>
[Device-Name]>set <Table> index status <1=enable, 2=disable, 3=delete>

Example:
[Device-Name]>set mgmtipaccesstbl 2 status enable
[Device-Name]>set mgmtipaccesstbl 2 status disable
[Device-Name]>set mgmtipaccesstbl 2 status delete
[Device-Name]>set mgmtipaccesstbl 2 status 2

NOTE: You may need to enable a disabled table entry before you can change the entry’s elements.

Advertising