123456789101112131415161718192021222324252627282930313233343536373839 |
- <?xml version="1.0"?>
- <OSPFASConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="OSPF.xsd">
- <!-- Areas -->
- <Area id="0.0.0.0">
- <AddressRange address="192.168.1.0" mask="255.255.255.0" status="Advertise" />
- </Area>
- <Area id="0.0.0.1">
- <AddressRange address="192.168.2.0" mask="255.255.255.0" status="Advertise" />
- <AddressRange address="Backbone.B[0]%eth0" mask="Backbone.B[0]%eth0" status="Advertise" />
- </Area>
- <!-- Routers -->
- <Router name="Backbone.R[*]" RFC1583Compatible="true">
- <BroadcastInterface ifName="eth0" areaID="0.0.0.0" interfaceOutputCost="1" />
- <PointToPointInterface ifName="eth1" areaID="0.0.0.0" interfaceOutputCost="1" />
- <PointToPointInterface ifName="eth2" areaID="0.0.0.0" interfaceOutputCost="1" />
- </Router>
- <Router name="Backbone.B[*]" RFC1583Compatible="true"> <!-- Area border router -->
- <PointToPointInterface ifName="eth0" areaID="0.0.0.1" interfaceOutputCost="1" />
- <PointToPointInterface ifName="eth1" areaID="0.0.0.0" interfaceOutputCost="1" />
- <PointToPointInterface ifName="eth2" areaID="0.0.0.0" interfaceOutputCost="1" />
- </Router>
- <Router name="Stub1.R[*]" RFC1583Compatible="true">
- <BroadcastInterface ifName="eth0" areaID="0.0.0.1" interfaceOutputCost="1" />
- <PointToPointInterface ifName="eth1" areaID="0.0.0.1" interfaceOutputCost="1" />
- <PointToPointInterface ifName="eth2" areaID="0.0.0.1" interfaceOutputCost="1" />
- </Router>
- <Router name="Stub1.B[*]" RFC1583Compatible="true">
- <PointToPointInterface ifName="eth0" areaID="0.0.0.1" interfaceOutputCost="1" /> <!-- connect to Area border router -->
- <PointToPointInterface ifName="eth1" areaID="0.0.0.1" interfaceOutputCost="1" />
- <PointToPointInterface ifName="eth2" areaID="0.0.0.1" interfaceOutputCost="1" />
- </Router>
- </OSPFASConfig>
|