OSPFConfig.xml 1.5 KB

123456789101112131415161718192021222324252627282930
  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. </Area>
  6. <Area id="0.0.0.2">
  7. <AddressRange address="10.20.1.0" mask="255.255.255.0" status="Advertise" />
  8. </Area>
  9. <Router name="RA1" RFC1583Compatible="true">
  10. <PointToPointInterface ifName="ppp0" areaID="0.0.0.1" interfaceOutputCost="10" />
  11. <ExternalInterface ifName="eth0" advertisedExternalNetworkAddress="192.168.0.0" advertisedExternalNetworkMask="255.255.0.0" externalInterfaceOutputCost="10" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
  12. </Router>
  13. <Router name="A" RFC1583Compatible="true">
  14. <PointToPointInterface ifName="ppp1" areaID="0.0.0.1" interfaceOutputCost="10" />
  15. </Router>
  16. <Router name="RB1" RFC1583Compatible="true">
  17. <PointToPointInterface ifName="ppp0" areaID="0.0.0.2" interfaceOutputCost="10" />
  18. <ExternalInterface ifName="eth0" advertisedExternalNetworkAddress="192.170.0.0" advertisedExternalNetworkMask="255.255.0.0" externalInterfaceOutputCost="10" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
  19. </Router>
  20. <Router name="B" RFC1583Compatible="true">
  21. <PointToPointInterface ifName="ppp1" areaID="0.0.0.2" interfaceOutputCost="10" />
  22. </Router>
  23. </OSPFASConfig>