
Configuration
18
3.5.2. The root element - <config>
At the top level, an XML file normally only has one element (the root element), which contains the entire
element hierarchy. In the FB6000 the root element is
<config>
, and it contains 'top-level' configuration
elements that cover major areas of the configuration, such as overall system settings, interface definitions,
firewall rule sets etc.
In addition to this User Manual, there is reference material is available that documents the XML elements -
refer to Section 3.2.1.
3.5.3. Viewing or editing XML
The XML representation of the configuration can be viewed and edited (in text form) via the web interface
by clicking on "XML View" and "XML Edit" respectively under the main-menu "Config" item. Viewing the
configuration is, as you might expect, 'read-only', and so is 'safe' in as much as you can't accidentally change
the configuration.
3.5.4. Example XML configuration
An example of a simple, but complete XML configuration is shown below, with annotations pointing out the
main elements
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns="http://firebrick.ltd.uk/xml/fb2700/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://firebrick.ltd.uk/xml/fb2700/ ...
timestamp="2011-10-14T12:24:07Z"
patch="8882">
<system name="gateway"
contact="Peter Smith"
location="The Basement"
log-panic="fb-support">
</system>
<user name="peter"
full-name="Peter Smith"
password="FB105#4D42454D26F8BF5480F07DFA1E41AE47410154F6"
timeout="PT3H20M"
config="full"
level="DEBUG"/>
<log name="default"/>
<log name="fb-support">
<email to="[email protected]"
comment="Crash logs emailed to FireBrick Support"/>
</log>
<services>
<ntp timeserver="pool.ntp.org"/>
<telnet log="default"/>
<http />
<dns domain="watchfront.co.uk"
resolvers="81.187.42.42 81.187.96.96"/>
Содержание FB6602
Страница 1: ...FireBrick FB6602 User Manual FB6000 Versatile Network Appliance...
Страница 2: ......
Страница 60: ...Profiles 45 profile name Off set false profile name On set true...