Appendices : Accessing the CLI

Adding and Removing Activation Codes
To add or remove activation codes for SonicWALL appliances, use the activationcode command.
sgms> activationcode xml_file
Syntax
Table 96. Syntax
Usage Guidelines
The XML file should contain the following:
<? Xml version ="1.0" >
<Sgmscommand>
: <Activation>command_type</Activation>
: <Activation values>
: <Activation category>category</Activation _category >
: : <Activation type>activation_type</Activation type>
: </Activation values>
: <Codes>
: : <Code>code</code>
: : <Code>code</code>
: </Codes>
</Sgmscommand>
Table 97. Usage Guidelines
Example
In the following example, four 100 Node Anti-Virus activation codes are added to Dell SonicWALL GMS:
sgms> activationcode new_virus_codes.xml
The following is the content of new_virus_codes.xml.
<? Xml version ="1.0" >
<Sgmscommand>
: <Activation>add</Activation>
: <Activation values>
: <Activation category>Anti-Virus</Activation _category >
: : <Activation type>100 Nodes</Activation type>
: </Activation values>
: <Codes>
: : <Code>12345678</code>
: : <Code>23456780</code>
: : <Code>34567890</code>
: : <Code>45678901</code>
: </Codes>
</Sgmscommand>