Lantronix XPort AR manual XML Groups, Import-Only Groups

Models: XPort AR

1 156
Download 156 pages 29.88 Kb
Page 137
Image 137

11: XML

Configure an XPort AR with XML using the following steps:

1.Configure an XPort AR with the desired settings using the Web Manager (see Configuration Using Web Manager on page 17 ) or the Command Mode (see Configuration Using Telnet or Serial Port on page 66).

2.Export all of the settings or part of the settings of the configured XPort AR using one of the following methods:

a)Using the Web Manager, select the groups to export from the XML page (see XML Configuration on page 52 ). If no group is selected, all groups will be exported. When the filesystem is used, note the location of the file (as specified in the text box).

b)Using Command Mode, enter the groups to export using the xcr command (see Enable Menu on page 70). The method used to access the CLI (serial port, SSH, or Telnet) does not impact the XML configuration.

c)Using FTP, log into the XPort AR. Download the “xport_ar.xml” file containing the configuration. The configuration is generated dynamically.

Note: The instance is required when exporting groups.

3.Connect the unconfigured XPort AR and locate it on the network.

4.Import all or part of the configuration settings onto the XPort AR using one of the following methods:

a)Using the Web Manager, select the groups to import and apply to the XPort AR (see XML Configuration on page 52 ).

b)Using Command mode, apply an XML configuration by pasting the XML file contents into the CLI session at any time. Importing a configuration via the CLI may be done at any level, including the root.

c)Using FTP, log into the XPort AR. Upload the “xport_ar.xml” file. The configuration is immediately processed. Nothing is stored on the filesystem.

The XPort AR is now configured using the same configuration as the original XPort AR. Repeat steps 3 and 4 for all XPort ARs requiring this configuration.

The Reboot group allows for the device to be rebooted after an XML change. Change its value from disable to enable to automatically reboot the XPort AR after an XML configuration import.

XML Groups

The following is the list of the groups available for importing and exporting on the XPort AR. To view the contents of the export groups, use the Web Manager’s Export XCR data to browser feature, described on page 52).

Import-Only Groups

When configuring the XML schema to import to an XPort AR, there are additional configurations that may be added that are not available when exporting. For example, the Reboot group (which causes the XPort AR to reboot) is not a configurable setting that can be exported. However, it may be added to an XML

XPort AR User Guide

137

Page 137
Image 137
Lantronix manual XML Groups, Import-Only Groups, Configure an XPort AR with XML using the following steps