Configuration - Vidipac VSW7242 User Manual

24-port 10/100/1000m with 2 gigabit sfp uplink ports layer 2 full management ethernet swith with 500w poe+
Table of Contents

Advertisement

Cancel: Cancel activating the backup image. Navigates away from this page.

6.3.4 Configuration

You can save/view or load the switch configuration. The configuration file is in XML format with a
hierarchy of tags:
Header tags: <?xml version="1.0"?> and <configuration>. These tags are mandatory and must be
present at the beginning of the file.
Section tags: <platform>, <global> and <switch>. The platform section must be the first section tag and
this section must include the correct platform ID and version. The global section is optional and
includes configuration which is not related to specific switch ports. The switch section is optional and
includes configuration which is related to specific switch ports.
Module tags: <ip>, <mac>, <port> etc. These tags identify a module controlling specific parts of the
configuration.
Group tags: <port table>, <vlan table> etc. These tags identify a group of parameters, typically a table.
Parameter tags: <mode>, <entry> etc. These tags identify parameters for the specific section, module
and group. The <entry> tag is used for table entries.
Configuration parameters are represented as attribute values. When saving the configuration from the
switch, the entire configuration including syntax descriptions is included in the file. The file may then be
modified using an editor and loaded to a switch.
The example below shows a small configuration file only including configuration of the MAC address
age time and the learning mode per port. When loading this file, only the included parameters will be
changed. This means that the age time will be set to 200 and the learn mode will be set to automatic.
< ?xml version="1.0"?>
<configuration>
<platform>
<pid val="3"></pid>
<version val="1"></version>
</platform>
<global>
<mac>
<age val="200"></age>>
</mac>
</global>
<switch sid="1">
<mac>
<entry port="1-24" learn mode="auto"></entry>
</mac>
</switch>
< /configuration>
285

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents