Appendix a. xml settings file example – N-Tron 710FX2 User Manual
Page 167
(Revised 2012-05-01
Page 167 of 170
Appendix A. XML Settings File Example
-- Overview of XML settings for N-TRON switches --
>
-- XML settings can be downloaded to a switch to configure the switch. XML settings cover a
subset of the settings available through a web browser. --
>
-- There are several top level configuration sections. Each section is optional.
--
>
<
SystemConfiguration
version
="1"
minSwVer
="3.4.2">
-- The minSwVer attribute is optional. If present, the XML settings are ignored if the
switch software version does not meet the minimum version requirement --
>
-- ______________________________________________________________________________________ --
>
-- The Switches block is optional. If present, the model name of the target switch must
be in the list for the file to be processed. --
>
<
Switches
>
<
Switch
minSwVer
="3.2.10">
708TX
Switch
>
-- If the minSwVer attribute is present, it
overrides the minSwVer attribute of
SystemConfiguration. --
>
<
Switch
>
7506GX2
Switch
>
Switches
>
-- ______________________________________________________________________________________ --
>
-- Administration --
>
<
Administration
>
<
SwitchName
>
myname
SwitchName
>
-- optional --
>
--255 character limit--
>
<
SwitchLocation
>
mylocation
SwitchLocation
>
-- optional --
>
--255 character limit--
>
<
SwitchContact
>
mycontact
SwitchContact
>
-- optional --
>
--255 character limit--
>
Administration
>
-- ______________________________________________________________________________________ --
>
-- IP configuration --
>
<
IPConfiguration
>
<
Mode
>
static OR dhcp
Mode
>
-- Mode must be static or dhcp --
>
-- If dhcp mode, these elements are the "Fallback" Address, Subnet, and Gateway.
Note: For an IP address of 192.168.1.201, there is no fallback address. --
>
-- All IP addresses have a 15 character limit (xxx.xxx.xxx.xxx) --
>
<
Address
>
192.168.1.222
Address
>
-- 15 character limit --
>
<
Subnet
>
255.255.255.0
Subnet
>
-- 15 character limit --
>
<
Gateway
>
192.168.1.1
Gateway
>
-- 15 character limit --
>
-- If dhcp mode, this is the dhcp client id --
>
<
ClientID
>
-- Use one of the elements (MACAddress, SwitchName, OtherText, OtherHex).
MACAddress and SwitchName use current switch values. --
>
<
MACAddress
/>
<
SwitchName
/>
<
OtherText
>
myClientID
OtherText
>
-- 255 character limit --
>
<
OtherHex
>
0102de03ad00be09ef
OtherHex
>
-- 255*2 character limit --
>
ClientID
>