Set” and “show” command examples – Proxim ORiNOCO AP-700 User Manual

Page 140

Advertising
background image

Using the Command Line Interface (CLI)

AP-700 User Guide

CLI Command Types

140

Example 1: Configuring objects that require the device to be rebooted

The following message is displayed every time the user has configured an object that requires the device to be rebooted.
[Device-Name]>set ipaddr 135.114.73.10

The following elements require reboot

ipaddr

Example 2: Executing the “exit”, “quit”, or “done” commands when an object that requires reboot has been configured

In addition to the above informational message, the CLI also provides a message as a result of the exit, quit, or done command if changes
have been made to objects that require reboot. If you make changes to objects that require reboot and execute the exit command the
following message is displayed:
[Device-Name]>exit<CR> OR quit<CR> OR done<CR>

Modifications have been made to parameters that require the device to be rebooted. These changes will only take
effect after the next reboot.

“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 examples, parameters may be set individually or 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 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

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

Advertising