Lantronix LX6 manual XML Example of Multiple Items

Page 17

4: Configuration Using XML

<value/>

</configitem>

<configitem name="remote address"> <value/>

</configitem>

<configitem name="remote port"> <value>0 </value>

</configitem>

</configgroup>

Figure 4-5 XML Example of Multiple Items

<configgroup name="xml import control"> <configitem name="restore factory configuration">

<value>disable</value>

</configitem>

<configitem name="delete cpm groups"> <value>enable</value>

</configitem>

<configitem name="cpm group delete"> <value name="name"/>

</configitem>

<configitem name="delete http authentication uris"> <value>disable</value>

</configitem>

<configitem name="http authentication uri delete"> <value name="name"/>

</configitem>

<configitem name="reboot"> <value>disable</value>

</configitem>

</configgroup>

Figure 4-6 XML Example with Multiple Groups

<configgroup name="cp group" instance="Line1_Modem_Ctl_Out"> <configitem name="cp" instance="2">

<value name="bit">0</value> <value name="type">output</value> <value name="assert low">enable</value>

</configitem>

<configitem name="state"> <value>disable</value>

</configitem>

</configgroup>

<configgroup name="cp group" instance="Line1_RS485_Select"> <configitem name="state">

<value>disable</value>

</configitem>

</configgroup>

XPort® Pro Lx6 Embedded Device Server Command Reference

17

Image 17
Contents Embedded Device Server Command Reference Copyright and Trademark Table of Contents List of Figures List of Tables Conventions Chapter SummariesAdditional Documentation DeviceInstaller Online HelpXML Architecture and Device Control OverviewConfiguration Using the Serial Port Configuration Using TelnetNavigating the CLI Hierarchy Command Line InterfaceUnderstanding the CLI Level Hierarchy Using Keyboard Shortcuts and CLICLI Level Hierarchy Enable Level Commands XML Configuration Record Document Type Definition Configuration Using XMLDeclaration Quick Tour of XML SyntaxXML Example of Multiple Named Values Record, Group, Item, and Value TagsXML Example of Multiple Items Best Practices Importing and Exporting an XML Configuration FileImporting XCR Groups XML Configuration GroupsConfiguration Using XML Icmp Configuration Using XML Configuration Using XML Configuration Using XML Configuration Using XML URI XSR Group and Items XML Status Record Groups and ItemsConfiguration Using XML Configuration Using XML LISTEN, Synrecvd Configuration Using XML Status Configuration Using XML Group Name Item Name Configuration Using XML Configuration Using XML Commands and Levels Accept tunnel-accept1 level commands Commands and LevelsFlushes the serial data buffer upon establishing an accept Cli config-cli level commands Arp config-arp level commandsAdd IP address MAC address Remove ip IP addressIf instance Configure config level commandsConnect tunnel-connect1 level commands Host instance Cp email-cp3 level commands Cp email-cp4 level commandsCp output tunnel-connect-cpoutput1 level commands Cp email-cp2 level commandsCp email-cp1 level commands Cpm cpm level commands Cp output tunnel-accept-cpoutput1 level commandsAdd cp to group Add cp to group bitDisconnect tunnel-disconnect1 level commands Device device level commandsDiagnostics config-diagnostics level commands Discovery config-discovery level commands Timeout millisecondsDns dns level commands Lookup hostoripCc text Email 1 email1 level commandsEmail number From textTo text Email 2 email2 level commandsEmail 3 email3 level commands Email 4 email4 level commands Commands and Levels Enable enable level commands Host 1 tunnel-connect-host11 level commands Filesystem filesystem level commandsFtp config-ftp level commands Port number Host 10 tunnel-connect-host110 level commands Host 11 tunnel-connect-host111 level commands Host 12 tunnel-connect-host112 level commands Host 13 tunnel-connect-host113 level commands Host 14 tunnel-connect-host114 level commands Host 15 tunnel-connect-host115 level commands Tunneling Show Shows the current configuration Show history Host 16 tunnel-connect-host116 level commands Host 2 tunnel-connect-host12 level commands Host 3 tunnel-connect-host13 level commands Host 4 tunnel-connect-host14 level commands Host 5 tunnel-connect-host15 level commands Host 6 tunnel-connect-host16 level commands Commands and Levels Host 7 tunnel-connect-host17 level commands Host 8 tunnel-connect-host18 level commands Host 9 tunnel-connect-host19 level commands Http config-http level commands Icmp config-icmp level commands If 1 config-ifeth0 level commands Icmpv6 config-icmpv6 level commandsIp address ip address/cidr Ipv6 address ip address/prefixlengthBaud rate bits per second Ip config-ip level commandsLine 1 line1 level commands Name text Gap timer millisecondsLink config-etherneteth0 level commands Modem tunnel-modem1 level commands Log config-diagnostics-log level commandsPacking tunnel-packing1 level commands Smtp config-smtp level commands Root level commandsSerial tunnel-serial1 level commands Host text Syslog config-syslog level commandsTelnet config-cli-telnet level commands Terminal 1 config-terminal1 level commands Terminal network config-terminalnetwork level commands Xml xml level commands Tunnel 1 tunnel1 level commandsSecret xcr export file group list Xcr dump group listXsr export file group list Xcr import file group listXsr dump group list
Related manuals
Manual 74 pages 16.36 Kb