Appendices : Accessing the CLI

System/Time
This section describes parameters that can be configured for the time screen of the System tree. To get the firewall parameters list that needs to be configured on the firmware, it is necessary to query the back-end database.
To configure the time screen, complete the following steps:
1
Table 110 provides the parameters returned from the previous query.
 
Table 110. Query Parameters
Grouping independent and array parameters from the previous query results in:
The following provides the XML used to configure the Array parameters in the time screen:
<!ELEMENT Task (SetParam*,DelParam*,AddParam*)>
<!ATTLIST Task
displayname CDATA #REQUIRED
viewname CDATA #REQUIRED
updatetype CDATA #REQUIRED
tasktype CDATA #REQUIRED
description CDATA #REQUIRED>
<!ELEMENT SetParam EMPTY>
<!ATTLIST SetParam
setParamName CDATA #REQUIRED
setParamValue CDATA #REQUIRED>
xml_file The XML file that contains configuration instructions.
Using the Command Line Interface 27
<!ELEMENT DelParam EMPTY>
<!ATTLIST DelParam
delParamName CDATA #REQUIRED
delParamValue CDATA #REQUIRED>
<!ELEMENT AddParam EMPTY>
<!ATTLIST AddParam
addParamName CDATA #REQUIRED
addParamValue CDATA #REQUIRED>
]>
<Configure>
<Task
displayname="firewall_parameters"
viewname="view_name"
updatetype="update_type"
tasktype="task_type"
description="description"
>
<AddParam addParamName=" addCustomNTPServer " addParamValue="10.0.0.1"/>
</Task>
</Configure>
The following provides the XML to configure independent parameters for the time screen.
<!ELEMENT Task (SetParam*,DelParam*,AddParam*)>
<!ATTLIST Task
displayname CDATA #REQUIRED
viewname CDATA #REQUIRED
updatetype CDATA #REQUIRED
tasktype CDATA #REQUIRED
description CDATA #REQUIRED>
<!ELEMENT SetParam EMPTY>
<!ATTLIST SetParam
setParamName CDATA #REQUIRED
setParamValue CDATA #REQUIRED>
xml_file The XML file that contains configuration instructions.
Using the Command Line Interface 27
<!ELEMENT DelParam EMPTY>
<!ATTLIST DelParam
delParamName CDATA #REQUIRED
delParamValue CDATA #REQUIRED>
<!ELEMENT AddParam EMPTY>
<!ATTLIST AddParam
addParamName CDATA #REQUIRED
addParamValue CDATA #REQUIRED>
]>
<Configure>
<Task
displayname="firewall_parameters"
viewname="view_name"
updatetype="update_type"
tasktype="task_type"
description="description"
<AddParam setParamName=" ntp_updateInterval " setParamValue="30"/>
<AddParam setParamName= " ntp_useDst " setParamValue="1"/>
<AddParam setParamName=" ntp_useNtp " setParamValue="1"/>
<AddParam setParamName=" ntp_utcLogs " setParamValue="1"/>
<AddParam setParamName=" timezone " setParamValue="829"/>
<AddParam setParamName=" useInternational " setParamValue="1"/>
</Task>
</Configure>