ASConfig.xml 961 B

1234567891011121314151617181920212223
  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="H1" mask="H1" status="Advertise" />
  6. <AddressRange address="H2" mask="H2" status="Advertise" />
  7. <AddressRange address="R1>R2" mask="R1>R2" status="Advertise" />
  8. <AddressRange address="R2>R1" mask="R2>R1" status="Advertise" />
  9. </Area>
  10. <!-- Routers -->
  11. <Router name="R1" RFC1583Compatible="true">
  12. <BroadcastInterface ifName="eth0" areaID="0.0.0.0" interfaceOutputCost="1" routerPriority="1" />
  13. <PointToPointInterface ifName="eth1" areaID="0.0.0.0" interfaceOutputCost="2" />
  14. </Router>
  15. <Router name="R2" RFC1583Compatible="true">
  16. <PointToPointInterface ifName="eth0" areaID="0.0.0.0" interfaceOutputCost="2" />
  17. <BroadcastInterface ifName="eth1" areaID="0.0.0.0" interfaceOutputCost="1" routerPriority="2" />
  18. </Router>
  19. </OSPFASConfig>