beautypg.com

Command line interface (cli) – HP ProCurve 520wl Wireless Access Point User Manual

Page 145

background image

Command Line Interface (CLI)

Configuring Objects that Require Reboot

Certain objects supported by the Access Point require a device reboot in order for the changes to take effect. In order
to inform the end-user of this behavior, the CLI provides informational messages when the user has configured an
object that requires a reboot. The following messages are displayed as a result of the configuring such object or
objects.

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

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

OR quit 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

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

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.

C-9