ASConfig.xml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?xml version="1.0"?>
  2. <OSPFASConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="OSPF.xsd">
  3. <!-- Areas -->
  4. <Area id="0.0.0.0">
  5. <AddressRange address="RA>R1" mask="RA>R1" status="Advertise" />
  6. <AddressRange address="RA>R2" mask="RA>R2" status="Advertise" />
  7. <AddressRange address="RB>R1" mask="RB>R1" status="Advertise" />
  8. <AddressRange address="RB>R2" mask="RB>R2" status="Advertise" />
  9. </Area>
  10. <Area id="0.0.0.1">
  11. <AddressRange address="H1" mask="H1" status="Advertise" />
  12. </Area>
  13. <Area id="0.0.0.2">
  14. <AddressRange address="H2" mask="H2" status="Advertise" />
  15. </Area>
  16. <!-- Routers -->
  17. <Router name="R1" RFC1583Compatible="true">
  18. <BroadcastInterface ifName="eth0" areaID="0.0.0.1" interfaceOutputCost="1" />
  19. <PointToPointInterface ifName="eth1" areaID="0.0.0.0" interfaceOutputCost="2" />
  20. <PointToPointInterface ifName="eth2" areaID="0.0.0.0" interfaceOutputCost="2" />
  21. </Router>
  22. <Router name="R2" RFC1583Compatible="true">
  23. <BroadcastInterface ifName="eth0" areaID="0.0.0.2" interfaceOutputCost="1" />
  24. <PointToPointInterface ifName="eth1" areaID="0.0.0.0" interfaceOutputCost="2" />
  25. <PointToPointInterface ifName="eth2" areaID="0.0.0.0" interfaceOutputCost="2" />
  26. </Router>
  27. <Router name="RA" RFC1583Compatible="true">
  28. <PointToPointInterface ifName="eth0" areaID="0.0.0.0" interfaceOutputCost="2" />
  29. <PointToPointInterface ifName="eth1" areaID="0.0.0.0" interfaceOutputCost="2" />
  30. </Router>
  31. <Router name="RB" RFC1583Compatible="true">
  32. <PointToPointInterface ifName="eth0" areaID="0.0.0.0" interfaceOutputCost="2" />
  33. <PointToPointInterface ifName="eth1" areaID="0.0.0.0" interfaceOutputCost="2" />
  34. </Router>
  35. </OSPFASConfig>