OSPFConfig.xml 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?xml version="1.0"?>
  2. <OSPFASConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="OSPF.xsd">
  3. <Area id="0.0.0.1">
  4. <AddressRange address="10.10.1.0" mask="255.255.255.0" status="Advertise" />
  5. <AddressRange address="10.10.2.0" mask="255.255.255.0" status="Advertise" />
  6. <AddressRange address="10.10.3.0" mask="255.255.255.0" status="Advertise" />
  7. </Area>
  8. <Area id="0.0.0.2">
  9. <AddressRange address="10.20.0.0" mask="255.255.0.0" status="Advertise" />
  10. </Area>
  11. <Area id="0.0.0.3">
  12. <AddressRange address="10.30.0.0" mask="255.255.0.0" status="Advertise" />
  13. </Area>
  14. <Router name="RA1" RFC1583Compatible="true">
  15. <PointToPointInterface ifName="ppp0" areaID="0.0.0.1" interfaceOutputCost="10" />
  16. <PointToPointInterface ifName="ppp1" areaID="0.0.0.1" interfaceOutputCost="10" />
  17. <PointToPointInterface ifName="ppp2" areaID="0.0.0.1" interfaceOutputCost="10" />
  18. </Router>
  19. <Router name="RA2" RFC1583Compatible="true">
  20. <PointToPointInterface ifName="ppp0" areaID="0.0.0.1" interfaceOutputCost="10" />
  21. <PointToPointInterface ifName="ppp1" areaID="0.0.0.1" interfaceOutputCost="10" />
  22. <PointToPointInterface ifName="ppp2" areaID="0.0.0.1" interfaceOutputCost="10" />
  23. </Router>
  24. <Router name="RA3" RFC1583Compatible="true">
  25. <PointToPointInterface ifName="ppp0" areaID="0.0.0.1" interfaceOutputCost="10" />
  26. <PointToPointInterface ifName="ppp1" areaID="0.0.0.1" interfaceOutputCost="10" />
  27. <ExternalInterface ifName="eth0" advertisedExternalNetworkAddress="192.168.0.0" advertisedExternalNetworkMask="255.255.0.0" externalInterfaceOutputCost="10" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
  28. </Router>
  29. <Router name="A1" RFC1583Compatible="true">
  30. <PointToPointInterface ifName="ppp1" areaID="0.0.0.1" interfaceOutputCost="10" />
  31. </Router>
  32. <Router name="A2" RFC1583Compatible="true">
  33. <PointToPointInterface ifName="ppp1" areaID="0.0.0.1" interfaceOutputCost="10" />
  34. </Router>
  35. <Router name="RB1" RFC1583Compatible="true">
  36. <PointToPointInterface ifName="ppp0" areaID="0.0.0.2" interfaceOutputCost="10" />
  37. <ExternalInterface ifName="eth0" advertisedExternalNetworkAddress="192.170.0.0" advertisedExternalNetworkMask="255.255.0.0" externalInterfaceOutputCost="10" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
  38. </Router>
  39. <Router name="B" RFC1583Compatible="true">
  40. <PointToPointInterface ifName="ppp1" areaID="0.0.0.2" interfaceOutputCost="10" />
  41. </Router>
  42. <Router name="RC1" RFC1583Compatible="true">
  43. <PointToPointInterface ifName="ppp0" areaID="0.0.0.3" interfaceOutputCost="10" />
  44. <PointToPointInterface ifName="ppp1" areaID="0.0.0.3" interfaceOutputCost="10" />
  45. <ExternalInterface ifName="eth0" advertisedExternalNetworkAddress="192.171.0.0" advertisedExternalNetworkMask="255.255.0.0" externalInterfaceOutputCost="10" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
  46. </Router>
  47. <Router name="RC2" RFC1583Compatible="true">
  48. <PointToPointInterface ifName="ppp0" areaID="0.0.0.3" interfaceOutputCost="10" />
  49. <PointToPointInterface ifName="ppp1" areaID="0.0.0.3" interfaceOutputCost="10" />
  50. <ExternalInterface ifName="eth0" advertisedExternalNetworkAddress="192.172.0.0" advertisedExternalNetworkMask="255.255.0.0" externalInterfaceOutputCost="10" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
  51. </Router>
  52. <Router name="C" RFC1583Compatible="true">
  53. <PointToPointInterface ifName="ppp1" areaID="0.0.0.3" interfaceOutputCost="10" />
  54. <PointToPointInterface ifName="ppp2" areaID="0.0.0.3" interfaceOutputCost="10" />
  55. </Router>
  56. </OSPFASConfig>