4: Configuration Using XML
XPort Pro™ Command Reference
67
</configrecord>
Figure 4-4. XML Example with Multiple Named Values
<?xml version=”1.0” standalone=”yes”?>
<configgroup name = "ssh server">
<configitem name = "host rsa keys">
<value name = "public key"></value>
<value name = "private key"></value>
</configitem>
</configgroup>
Figure 4-5. XML Example with Multiple Items
<?xml version=”1.0” standalone=”yes”?>
<configgroup name = "email" instance = "1">
<configitem name = "to">
<value>[email protected]</value>
</configitem>
<configitem name = "from">
<value>[email protected]</value>
</configitem>
</configgroup>
Figure 4-6. XML Example with Multiple Groups
<?xml version=”1.0” standalone=”yes”?>
<configgroup name = "ftp server">
<configitem name = "state">
<value>enable</value>
</configitem>
<configitem name = "admin username">
<value>admin</value>
</configitem>
<configitem name = "admin password">
<value><!-- configured and ignored --></value>
</configitem>
</configgroup>
<configgroup name = "tftp server">
<configitem name = "state">
<value>enable</value>
</configitem>