ASConfig2.xml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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="192.168.1.0" mask="255.255.255.0" status="Advertise" />
  6. </Area>
  7. <Area id="0.0.0.1">
  8. <AddressRange address="192.168.2.0" mask="255.255.255.0" status="Advertise" />
  9. <AddressRange address="Backbone.B[0]%eth0" mask="Backbone.B[0]%eth0" status="Advertise" />
  10. </Area>
  11. <!-- Routers -->
  12. <Router name="Backbone.R[*]" RFC1583Compatible="true">
  13. <BroadcastInterface ifName="eth0" areaID="0.0.0.0" interfaceOutputCost="1" />
  14. <PointToPointInterface ifName="eth1" areaID="0.0.0.0" interfaceOutputCost="1" />
  15. <PointToPointInterface ifName="eth2" areaID="0.0.0.0" interfaceOutputCost="1" />
  16. </Router>
  17. <Router name="Backbone.B[*]" RFC1583Compatible="true"> <!-- Area border router -->
  18. <PointToPointInterface ifName="eth0" areaID="0.0.0.1" interfaceOutputCost="1" />
  19. <PointToPointInterface ifName="eth1" areaID="0.0.0.0" interfaceOutputCost="1" />
  20. <PointToPointInterface ifName="eth2" areaID="0.0.0.0" interfaceOutputCost="1" />
  21. </Router>
  22. <Router name="Stub1.R[*]" RFC1583Compatible="true">
  23. <BroadcastInterface ifName="eth0" areaID="0.0.0.1" interfaceOutputCost="1" />
  24. <PointToPointInterface ifName="eth1" areaID="0.0.0.1" interfaceOutputCost="1" />
  25. <PointToPointInterface ifName="eth2" areaID="0.0.0.1" interfaceOutputCost="1" />
  26. </Router>
  27. <Router name="Stub1.B[*]" RFC1583Compatible="true">
  28. <PointToPointInterface ifName="eth0" areaID="0.0.0.1" interfaceOutputCost="1" /> <!-- connect to Area border router -->
  29. <PointToPointInterface ifName="eth1" areaID="0.0.0.1" interfaceOutputCost="1" />
  30. <PointToPointInterface ifName="eth2" areaID="0.0.0.1" interfaceOutputCost="1" />
  31. </Router>
  32. </OSPFASConfig>