ASConfig.xml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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="RT3>RT6" mask="RT3>RT6" status="Advertise" />
  6. <AddressRange address="RT4>RT5" mask="RT4>RT5" status="Advertise" />
  7. <AddressRange address="RT5>RT4" mask="RT5>RT4" status="Advertise" />
  8. <AddressRange address="RT5>RT6" mask="RT5>RT6" status="Advertise" />
  9. <AddressRange address="RT5>RT7" mask="RT5>RT7" status="Advertise" />
  10. <AddressRange address="RT6>RT3" mask="RT6>RT3" status="Advertise" />
  11. <AddressRange address="RT6>RT10" mask="RT6>RT10" status="Advertise" />
  12. <AddressRange address="RT6>RT5" mask="RT6>RT5" status="Advertise" />
  13. <AddressRange address="RT7>RT5" mask="RT7>RT5" status="Advertise" />
  14. <AddressRange address="RT10>RT6" mask="RT10>RT6" status="Advertise" />
  15. </Area>
  16. <Area id="0.0.0.1">
  17. <AddressRange address="Area1.RT1>Area1.N1" mask="Area1.RT1>Area1.N1" status="Advertise" />
  18. <AddressRange address="Area1.RT2>Area1.N2" mask="Area1.RT2>Area1.N2" status="Advertise" />
  19. <AddressRange address="Area1.N3.host[0]" mask="Area1.N3.host[0]" status="Advertise" />
  20. <AddressRange address="RT3>Area1.N4" mask="RT3>Area1.N4" status="Advertise" />
  21. </Area>
  22. <Area id="0.0.0.2">
  23. <AddressRange address="Area2.RT8>Area2.N6" mask="Area2.RT8>Area2.N6" status="Advertise" />
  24. <AddressRange address="Area2.RT8>Area2.N7" mask="Area2.RT8>Area2.N7" status="Advertise" />
  25. <AddressRange address="RT10>Area2.N8" mask="RT10>Area2.N8" status="Advertise" />
  26. <AddressRange address="RT11>Area2.N8" mask="RT11>Area2.N8" status="Advertise" />
  27. </Area>
  28. <Area id="0.0.0.3">
  29. <AddressRange address="RT11>Area3.N9" mask="RT11>Area3.N9" status="Advertise" />
  30. <AddressRange address="Area3.RT9>Area3.N9" mask="Area3.RT9>Area3.N9" status="Advertise" />
  31. <AddressRange address="Area3.RT9>Area3.N11" mask="Area3.RT9>Area3.N11" status="Advertise" />
  32. <AddressRange address="Area3.RT12>Area3.N9" mask="Area3.RT12>Area3.N9" status="Advertise" />
  33. <AddressRange address="Area3.RT12>Area3.H1" mask="Area3.RT12>Area3.H1" status="Advertise" />
  34. <AddressRange address="Area3.RT12>Area3.N10" mask="Area3.RT12>Area3.N10" status="Advertise" />
  35. </Area>
  36. <!-- Routers -->
  37. <Router name="Area1.RT1" RFC1583Compatible="true">
  38. <BroadcastInterface toward="Area1.N1" areaID="0.0.0.1" interfaceOutputCost="3" routerPriority="1" />
  39. <BroadcastInterface toward="Area1.N3" areaID="0.0.0.1" interfaceOutputCost="1" routerPriority="1" />
  40. </Router>
  41. <Router name="Area1.RT2" RFC1583Compatible="true">
  42. <BroadcastInterface toward="Area1.N2" areaID="0.0.0.1" interfaceOutputCost="3" routerPriority="1" />
  43. <BroadcastInterface toward="Area1.N3" areaID="0.0.0.1" interfaceOutputCost="1" routerPriority="1" />
  44. </Router>
  45. <Router name="RT3" RFC1583Compatible="true">
  46. <BroadcastInterface toward="Area1.N3" areaID="0.0.0.1" interfaceOutputCost="1" routerPriority="1" />
  47. <BroadcastInterface toward="Area1.N4" areaID="0.0.0.1" interfaceOutputCost="2" routerPriority="1" />
  48. <PointToPointInterface toward="RT6" areaID="0.0.0.0" interfaceOutputCost="8" />
  49. </Router>
  50. <Router name="RT4" RFC1583Compatible="true">
  51. <BroadcastInterface toward="Area1.N3" areaID="0.0.0.1" interfaceOutputCost="1" routerPriority="1" />
  52. <PointToPointInterface toward="RT5" areaID="0.0.0.0" interfaceOutputCost="8" />
  53. </Router>
  54. <Router name="RT5" RFC1583Compatible="true">
  55. <ExternalInterface toward="N13" advertisedExternalNetworkAddress="RT5>N13" advertisedExternalNetworkMask="RT5>N13" externalInterfaceOutputCost="8" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
  56. <PointToPointInterface toward="RT4" areaID="0.0.0.0" interfaceOutputCost="8" />
  57. <PointToPointInterface toward="RT6" areaID="0.0.0.0" interfaceOutputCost="7" />
  58. <PointToPointInterface toward="RT7" areaID="0.0.0.0" interfaceOutputCost="6" />
  59. <ExternalInterface toward="N12" advertisedExternalNetworkAddress="RT5>N12" advertisedExternalNetworkMask="RT5>N12" externalInterfaceOutputCost="8" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
  60. <ExternalInterface toward="N14" advertisedExternalNetworkAddress="RT5>N14" advertisedExternalNetworkMask="RT5>N14" externalInterfaceOutputCost="8" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
  61. </Router>
  62. <Router name="RT6" RFC1583Compatible="true">
  63. <PointToPointInterface toward="RT3" areaID="0.0.0.0" interfaceOutputCost="6" />
  64. <PointToPointInterface toward="RT10" areaID="0.0.0.0" interfaceOutputCost="7" />
  65. <PointToPointInterface toward="RT5" areaID="0.0.0.0" interfaceOutputCost="6" />
  66. </Router>
  67. <Router name="RT7" RFC1583Compatible="true">
  68. <PointToPointInterface toward="RT5" areaID="0.0.0.0" interfaceOutputCost="6" />
  69. <BroadcastInterface toward="Area2.N6" areaID="0.0.0.2" interfaceOutputCost="1" routerPriority="1" />
  70. <ExternalInterface toward="N15" advertisedExternalNetworkAddress="RT7>N15" advertisedExternalNetworkMask="RT7>N15" externalInterfaceOutputCost="9" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
  71. <ExternalInterface toward="N12" advertisedExternalNetworkAddress="RT7>N12" advertisedExternalNetworkMask="RT7>N12" externalInterfaceOutputCost="2" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
  72. </Router>
  73. <Router name="Area2.RT8" RFC1583Compatible="true">
  74. <BroadcastInterface toward="Area2.N6" areaID="0.0.0.2" interfaceOutputCost="1" routerPriority="1" />
  75. <BroadcastInterface toward="Area2.N7" areaID="0.0.0.2" interfaceOutputCost="4" routerPriority="1" />
  76. </Router>
  77. <Router name="Area3.RT9" RFC1583Compatible="true">
  78. <BroadcastInterface toward="Area3.N11" areaID="0.0.0.3" interfaceOutputCost="3" routerPriority="1" />
  79. <BroadcastInterface toward="Area3.N9" areaID="0.0.0.3" interfaceOutputCost="1" routerPriority="1" />
  80. </Router>
  81. <Router name="RT10" RFC1583Compatible="true">
  82. <PointToPointInterface toward="RT6" areaID="0.0.0.0" interfaceOutputCost="5" />
  83. <BroadcastInterface toward="Area2.N8" areaID="0.0.0.2" interfaceOutputCost="3" routerPriority="1" />
  84. <BroadcastInterface toward="Area2.N6" areaID="0.0.0.2" interfaceOutputCost="1" routerPriority="1" />
  85. <VirtualLink endPointRouterID="RT11%routerId" transitAreaID="0.0.0.2" />
  86. </Router>
  87. <Router name="RT11" RFC1583Compatible="true">
  88. <BroadcastInterface toward="Area3" areaID="0.0.0.3" interfaceOutputCost="1" routerPriority="1" />
  89. <BroadcastInterface toward="Area2" areaID="0.0.0.2" interfaceOutputCost="2" routerPriority="1" />
  90. <VirtualLink endPointRouterID="RT10%routerId" transitAreaID="0.0.0.2" />
  91. </Router>
  92. <Router name="Area3.RT12" RFC1583Compatible="true">
  93. <BroadcastInterface toward="Area3.N9" areaID="0.0.0.3" interfaceOutputCost="1" routerPriority="1" />
  94. <!-- <BroadcastInterface toward="Area3.H1" areaID="0.0.0.3" linkCost="10"/> -->
  95. <HostInterface toward="Area3.H1" areaID="0.0.0.3" attachedHost="Area3.H1" linkCost="10" />
  96. <BroadcastInterface toward="Area3.N10" areaID="0.0.0.3" interfaceOutputCost="2" routerPriority="1" />
  97. </Router>
  98. </OSPFASConfig>