Chapter 5: Monitor, Diagnostic, Maintenance
Monitor, Diagnostic, Maintenance
NGSME16T2H User Manual | 363
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>>