Using tables & user strings, Working with tables, Using strings – HP ProCurve 520wl Wireless Access Point User Manual
Page 94: Using tables & user strings -11, Working with tables -11 using strings -11
Using Tables & User Strings
6-11
using tables & user strings
using tables & user strings
using tables & user strings
using tables & user strings
working with tables
working with tables
working with tables
working with tables
Each member of the table 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.
Q
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 as specified in
the MIB or product functional specification document.
Q
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.
Q
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 reserved word enable or disable are required.
Q
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 reserved word delete is required.
using strings
using strings
using strings
using strings
Since there are several string objects supported by the WL520 device, a string delimiter is required for the strings to be
interpreted correctly by the command line parser. For this CLI implementation, the single quote or double quote character can
be used at the beginning and at the end of the string.
For example:
[Device Name]>
set sysname Lobby - Does not need quote marks
[Device Name]>
set sysname “Front Lobby”
set sysname “Front Lobby”
set sysname “Front Lobby”
set sysname “Front Lobby”
- Requires quote marks.
The scenarios supported by this CLI are:
The string delimiter does not have to be used for every string object. The single quote or double quote only has to be used for
string objects that contain blank space characters. If the string object being used does not contain blank spaces, then the string
delimiters, single or double quotes, mentioned in this section are not required.
“My Desk in Nieuwegein”
Double Quotes
‘My Desk in Nieuwegein’
Single Quotes
“My ‘Desk’ in Nieuwegein”
Single Quotes within Double Quotes
‘My “Desk” in Nieuwegein’
Double Quotes within Single Quotes
“Daniel’s Desk in Nieuwegein”
One Single Quote within Double Quotes
‘Daniel”s Desk in Nieuwegein’
One Double Quote within Single Quotes