ASConfig3.xml 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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="BBR[0]%eth1" mask="BBR[0]%eth1" status="Advertise" />
  6. <AddressRange address="BBR[1]%eth0" mask="BBR[1]%eth0" status="Advertise" />
  7. <AddressRange address="BBR[1]%eth1" mask="BBR[1]%eth1" status="Advertise" />
  8. <AddressRange address="BBR[2]%eth1" mask="BBR[2]%eth1" status="Advertise" />
  9. </Area>
  10. <Area id="0.0.0.1">
  11. <AddressRange address="Stub1.B[0]%eth0" mask="Stub1.B[0]%eth0" status="Advertise" />
  12. <AddressRange address="Stub1.B[0]%eth1" mask="Stub1.B[0]%eth1" status="Advertise" />
  13. <AddressRange address="Stub1.B[0]%eth2" mask="Stub1.B[0]%eth2" status="Advertise" />
  14. <AddressRange address="Stub1.R[0]%eth0" mask="Stub1.R[0]%eth0" status="Advertise" />
  15. <AddressRange address="Stub1.R[0]%eth1" mask="Stub1.R[0]%eth1" status="Advertise" />
  16. <AddressRange address="Stub1.R[0]%eth2" mask="Stub1.R[0]%eth2" status="Advertise" />
  17. <AddressRange address="Stub1.R[1]%eth0" mask="Stub1.R[1]%eth0" status="Advertise" />
  18. <AddressRange address="Stub1.R[1]%eth1" mask="Stub1.R[1]%eth1" status="Advertise" />
  19. <AddressRange address="Stub1.R[1]%eth2" mask="Stub1.R[1]%eth2" status="Advertise" />
  20. </Area>
  21. <Area id="0.0.0.2">
  22. <AddressRange address="Stub2.B[0]%eth0" mask="Stub2.B[0]%eth0" status="Advertise" />
  23. <AddressRange address="Stub2.B[0]%eth1" mask="Stub2.B[0]%eth1" status="Advertise" />
  24. <AddressRange address="Stub2.B[0]%eth2" mask="Stub2.B[0]%eth2" status="Advertise" />
  25. <AddressRange address="Stub2.R[0]%eth0" mask="Stub2.R[0]%eth0" status="Advertise" />
  26. <AddressRange address="Stub2.R[0]%eth1" mask="Stub2.R[0]%eth1" status="Advertise" />
  27. <AddressRange address="Stub2.R[0]%eth2" mask="Stub2.R[0]%eth2" status="Advertise" />
  28. <AddressRange address="Stub2.R[1]%eth0" mask="Stub2.R[1]%eth0" status="Advertise" />
  29. <AddressRange address="Stub2.R[1]%eth1" mask="Stub2.R[1]%eth1" status="Advertise" />
  30. <AddressRange address="Stub2.R[1]%eth2" mask="Stub2.R[1]%eth2" status="Advertise" />
  31. </Area>
  32. <!-- Routers -->
  33. <Router name="BBR[0]" RFC1583Compatible="true">
  34. <BroadcastInterface ifName="eth0" areaID="0.0.0.1" interfaceOutputCost="1" /> <!-- Area border router -->
  35. <BroadcastInterface ifName="eth1" areaID="0.0.0.0" interfaceOutputCost="1" />
  36. </Router>
  37. <Router name="BBR[2]" RFC1583Compatible="true">
  38. <BroadcastInterface ifName="eth0" areaID="0.0.0.2" interfaceOutputCost="1" /> <!-- Area border router -->
  39. <BroadcastInterface ifName="eth1" areaID="0.0.0.0" interfaceOutputCost="1" />
  40. </Router>
  41. <Router name="BBR[1]" RFC1583Compatible="true">
  42. <BroadcastInterface ifName="eth0" areaID="0.0.0.0" interfaceOutputCost="1" />
  43. <BroadcastInterface ifName="eth1" areaID="0.0.0.0" interfaceOutputCost="1" />
  44. </Router>
  45. <Router name="Stub1.R[*]" RFC1583Compatible="true">
  46. <BroadcastInterface ifName="eth0" areaID="0.0.0.1" interfaceOutputCost="1" />
  47. <BroadcastInterface ifName="eth1" areaID="0.0.0.1" interfaceOutputCost="1" />
  48. <BroadcastInterface ifName="eth2" areaID="0.0.0.1" interfaceOutputCost="1" />
  49. </Router>
  50. <Router name="Stub1.B[*]" RFC1583Compatible="true">
  51. <BroadcastInterface ifName="eth0" areaID="0.0.0.1" interfaceOutputCost="1" />
  52. <BroadcastInterface ifName="eth1" areaID="0.0.0.1" interfaceOutputCost="1" />
  53. <BroadcastInterface ifName="eth2" areaID="0.0.0.1" interfaceOutputCost="1" />
  54. </Router>
  55. <Router name="Stub2.R[*]" RFC1583Compatible="true">
  56. <BroadcastInterface ifName="eth0" areaID="0.0.0.2" interfaceOutputCost="1" />
  57. <BroadcastInterface ifName="eth1" areaID="0.0.0.2" interfaceOutputCost="1" />
  58. <BroadcastInterface ifName="eth2" areaID="0.0.0.2" interfaceOutputCost="1" />
  59. </Router>
  60. <Router name="Stub2.B[*]" RFC1583Compatible="true">
  61. <BroadcastInterface ifName="eth0" areaID="0.0.0.2" interfaceOutputCost="1" />
  62. <BroadcastInterface ifName="eth1" areaID="0.0.0.2" interfaceOutputCost="1" />
  63. <BroadcastInterface ifName="eth2" areaID="0.0.0.2" interfaceOutputCost="1" />
  64. </Router>
  65. </OSPFASConfig>