1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?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="Area1.R3>Area2.R4" mask="Area1.R3>Area2.R4" status="Advertise" />
- <AddressRange address="Area2.R4>Area1.R3" mask="Area2.R4>Area1.R3" status="Advertise" />
- </Area>
- <Area id="0.0.0.1">
- <AddressRange address="Area1.R1>Area1.N1" mask="Area1.R1>Area1.N1" status="Advertise" />
- <AddressRange address="Area1.H1>Area1.N1" mask="Area1.H1>Area1.N1" status="Advertise" />
- <AddressRange address="Area1.R2>Area1.N2" mask="Area1.R2>Area1.N2" status="Advertise" />
- <AddressRange address="Area1.H2>Area1.N2" mask="Area1.H2>Area1.N2" status="Advertise" />
- <AddressRange address="Area1.R1>Area1.R2" mask="Area1.R1>Area1.R2" status="Advertise" />
- <AddressRange address="Area1.R2>Area1.R1" mask="Area1.R2>Area1.R1" status="Advertise" />
- <AddressRange address="Area1.R1>Area1.R3" mask="Area1.R1>Area1.R3" status="Advertise" />
- <AddressRange address="Area1.R3>Area1.R1" mask="Area1.R3>Area1.R1" status="Advertise" />
- <AddressRange address="Area1.R2>Area1.R3" mask="Area1.R2>Area1.R3" status="Advertise" />
- <AddressRange address="Area1.R3>Area1.R2" mask="Area1.R3>Area1.R2" status="Advertise" />
- </Area>
- <Area id="0.0.0.2">
- <AddressRange address="Area2.R4>Area2.R5" mask="Area2.R4>Area2.R5" status="Advertise" />
- <AddressRange address="Area2.R5>Area2.R4" mask="Area2.R5>Area2.R4" status="Advertise" />
- <AddressRange address="Area2.R5>Area2.N3" mask="Area2.R5>Area2.N3" status="Advertise" />
- <AddressRange address="Area2.H3>Area2.N3" mask="Area2.H3>Area2.N3" status="Advertise" />
- </Area>
- <!-- Routers -->
- <Router name="Area1.R1" RFC1583Compatible="true">
- <BroadcastInterface ifName="eth0" areaID="0.0.0.1" interfaceOutputCost="1" />
- <BroadcastInterface ifName="eth1" areaID="0.0.0.1" interfaceOutputCost="1" />
- <BroadcastInterface ifName="eth2" areaID="0.0.0.1" interfaceOutputCost="1" routerPriority="1" />
- </Router>
- <Router name="Area1.R2" RFC1583Compatible="true">
- <BroadcastInterface ifName="eth0" areaID="0.0.0.1" interfaceOutputCost="2" />
- <BroadcastInterface ifName="eth1" areaID="0.0.0.1" interfaceOutputCost="2" />
- <BroadcastInterface ifName="eth2" areaID="0.0.0.1" interfaceOutputCost="2" routerPriority="2" />
- </Router>
- <Router name="Area1.R3" RFC1583Compatible="true">
- <BroadcastInterface ifName="eth0" areaID="0.0.0.0" interfaceOutputCost="3" />
- <BroadcastInterface ifName="eth1" areaID="0.0.0.1" interfaceOutputCost="3" />
- <BroadcastInterface ifName="eth2" areaID="0.0.0.1" interfaceOutputCost="3" />
- </Router>
- <Router name="Area2.R4" RFC1583Compatible="true">
- <BroadcastInterface ifName="eth0" areaID="0.0.0.2" interfaceOutputCost="4" />
- <BroadcastInterface ifName="eth1" areaID="0.0.0.0" interfaceOutputCost="4" />
- </Router>
- <Router name="Area2.R5" RFC1583Compatible="true">
- <BroadcastInterface ifName="eth0" areaID="0.0.0.2" interfaceOutputCost="5" />
- <BroadcastInterface ifName="eth1" areaID="0.0.0.2" interfaceOutputCost="5" />
- </Router>
- </OSPFASConfig>
|