Using tables & user strings, Working with tables, Command line interface (cli) – HP ProCurve 520wl Wireless Access Point User Manual

Page 147

Advertising
background image

Command Line Interface (CLI)

Example 6 - Show Individual and Table Parameters

1. View a single parameter.

Syntax:
[Device-Name]>show <parameter name>

Example:
[Device-Name]> show ipaddr

Result: Displays the Access Point IP address.

Figure C-11 Result of “show ipaddr” CLI Command

2. View all parameters in a table.

Syntax:
[Device-Name]> show <table name>
Example:[Device-Name]> show mgmtipaccesstbl

Result: Displays the IP Access Table and its entries.

Using Tables & User Strings

Working with Tables

Each table element (or parameter) must be specified, as in the example below.

[Device-Name]>set mgmtipaccesstbl 0 ipaddr 10.0.0.10 ipmask 255.255.0.0

Below are the rules for creating, modifying, enabling/disabling, and deleting table entries.
• Creation

–

The table name is required.

–

The table index is required – for table entry/instance creation the index is always zero (0).

–

The order in which the table arguments or objects are entered in not important.

–

Parameters that are not required can be omitted, in which case they will be assigned the default value.

• 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.

C-11

Advertising