Set append, Example, Syntax – HP MPX200 Multifunction Router User Manual
Page 48: Keywords, Examples
If this keyword is not used, the output appears on the console.
You can use any keywords with assigned values suitable for the command specified
by the -cmd keyword. They are included as specified on every line of the script.
You can use keywords with assigned values starting with csv_ are iteratively assigned
a value from the specified column of the csv file. Values are:
•
csv_a
•
csv_b
•
csv_c
•
csv_a
.
.
.
•
csv_z
Example
c:\> rcli script csv -cmd="add migration" -csv_file=c:\temp\mydata.csv
-file=summary.txt -lun_serial=csv_e -dmdest_lun_serial=csv_n -name="my
DM Group"
Script file for CSV file mydata.csv created successfully
set append
The set append command creates, replaces, or deletes a named set of keywords that can be
included as a group for any RCLI command by using the /append=name keyword.
This set of keywords is used in place of /append=name for any other RCLI command. If a set of
keywords is not provided with the set append command, the named set of append keywords
is deleted.
Syntax
set append=name
Keywords
Specifies the name of a keyword set to create, replace, or delete.
-append=
Examples
c:\> rcli set append -append=modset1 /ip=10.0.0.12 /blade=1
-append=modset1 --> /ip=10.0.0.12 /blade=1
nl
nl
c:\> rcli set append -append=modset1
[10.0.0.12]
MAC Address = 00-C0-DD-12-F9-5B
IPv4 Link Status = LINK_UP
IPv4 Address is manually entered
IPv4 Address = 10.0.0.12
IPv4 Subnet Mask = 255.255.254.0
IPv4 Gateway Address = 10.0.0.1
...
c:\> rcli set append -append=modset1
-append=modset1 contents cleared
48
Command reference