Appendices : Accessing the CLI

Using the ModifyArray Command
To modify a SonicWALL parameter setting, use the ModifyArray command.
sgms> modifyarray xml_file
Syntax
Table 108. Syntax
Usage Guidelines
When this command is entered, Dell SonicWALL GMS does the following:
Example
In the following example, the value of the secondary phone number is changed to the number specified in the primary phone number field and the primary phone number is changed to 800-555-1212.
sgms> modifyarray modify.xml
The following is the content of modify.xml.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE Configure (View Source for full doctype...)>
: <Configure>
: <Task displayname="root" viewname="AGENTCompany" description="Modify SP Profiles" arraytable
: name="SW_PROFILES" indidxcolumnname="dialupProfileInUse_0">
: <ArrayIndexColumnName paramName="dialConfigName" />
: <ModParam paramName="secPhone" paramValue="%priPhone%" />
: <ModParam paramName="priPhone" paramValue="[18005551212]" />
: </Task>
: </Configure>