123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- <?xml version="1.0"?>
- <OSPFASConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="OSPF.xsd">
- <!-- Areas -->
- <Area id="0.0.0.0">
- <AddressRange address="RT3>RT6" mask="RT3>RT6" status="Advertise" />
- <AddressRange address="RT4>RT5" mask="RT4>RT5" status="Advertise" />
- <AddressRange address="RT5>RT4" mask="RT5>RT4" status="Advertise" />
- <AddressRange address="RT5>RT6" mask="RT5>RT6" status="Advertise" />
- <AddressRange address="RT5>RT7" mask="RT5>RT7" status="Advertise" />
- <AddressRange address="RT6>RT3" mask="RT6>RT3" status="Advertise" />
- <AddressRange address="RT6>RT10" mask="RT6>RT10" status="Advertise" />
- <AddressRange address="RT6>RT5" mask="RT6>RT5" status="Advertise" />
- <AddressRange address="RT7>RT5" mask="RT7>RT5" status="Advertise" />
- <AddressRange address="RT10>RT6" mask="RT10>RT6" status="Advertise" />
- </Area>
- <Area id="0.0.0.1">
- <AddressRange address="Area1.RT1>Area1.N1" mask="Area1.RT1>Area1.N1" status="Advertise" />
- <AddressRange address="Area1.RT2>Area1.N2" mask="Area1.RT2>Area1.N2" status="Advertise" />
- <AddressRange address="Area1.N3.host[0]" mask="Area1.N3.host[0]" status="Advertise" />
- <AddressRange address="RT3>Area1.N4" mask="RT3>Area1.N4" status="Advertise" />
- </Area>
- <Area id="0.0.0.2">
- <AddressRange address="Area2.RT8>Area2.N6" mask="Area2.RT8>Area2.N6" status="Advertise" />
- <AddressRange address="Area2.RT8>Area2.N7" mask="Area2.RT8>Area2.N7" status="Advertise" />
- <AddressRange address="RT10>Area2.N8" mask="RT10>Area2.N8" status="Advertise" />
- <AddressRange address="RT11>Area2.N8" mask="RT11>Area2.N8" status="Advertise" />
- </Area>
- <Area id="0.0.0.3">
- <AddressRange address="RT11>Area3.N9" mask="RT11>Area3.N9" status="Advertise" />
- <AddressRange address="Area3.RT9>Area3.N9" mask="Area3.RT9>Area3.N9" status="Advertise" />
- <AddressRange address="Area3.RT9>Area3.N11" mask="Area3.RT9>Area3.N11" status="Advertise" />
- <AddressRange address="Area3.RT12>Area3.N9" mask="Area3.RT12>Area3.N9" status="Advertise" />
- <AddressRange address="Area3.RT12>Area3.H1" mask="Area3.RT12>Area3.H1" status="Advertise" />
- <AddressRange address="Area3.RT12>Area3.N10" mask="Area3.RT12>Area3.N10" status="Advertise" />
- </Area>
- <!-- Routers -->
- <Router name="Area1.RT1" RFC1583Compatible="true">
- <BroadcastInterface toward="Area1.N1" areaID="0.0.0.1" interfaceOutputCost="3" routerPriority="1" />
- <BroadcastInterface toward="Area1.N3" areaID="0.0.0.1" interfaceOutputCost="1" routerPriority="1" />
- </Router>
- <Router name="Area1.RT2" RFC1583Compatible="true">
- <BroadcastInterface toward="Area1.N2" areaID="0.0.0.1" interfaceOutputCost="3" routerPriority="1" />
- <BroadcastInterface toward="Area1.N3" areaID="0.0.0.1" interfaceOutputCost="1" routerPriority="1" />
- </Router>
- <Router name="RT3" RFC1583Compatible="true">
- <BroadcastInterface toward="Area1.N3" areaID="0.0.0.1" interfaceOutputCost="1" routerPriority="1" />
- <BroadcastInterface toward="Area1.N4" areaID="0.0.0.1" interfaceOutputCost="2" routerPriority="1" />
- <PointToPointInterface toward="RT6" areaID="0.0.0.0" interfaceOutputCost="8" />
- </Router>
- <Router name="RT4" RFC1583Compatible="true">
- <BroadcastInterface toward="Area1.N3" areaID="0.0.0.1" interfaceOutputCost="1" routerPriority="1" />
- <PointToPointInterface toward="RT5" areaID="0.0.0.0" interfaceOutputCost="8" />
- </Router>
- <Router name="RT5" RFC1583Compatible="true">
- <ExternalInterface toward="N13" advertisedExternalNetworkAddress="RT5>N13" advertisedExternalNetworkMask="RT5>N13" externalInterfaceOutputCost="8" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
- <PointToPointInterface toward="RT4" areaID="0.0.0.0" interfaceOutputCost="8" />
- <PointToPointInterface toward="RT6" areaID="0.0.0.0" interfaceOutputCost="7" />
- <PointToPointInterface toward="RT7" areaID="0.0.0.0" interfaceOutputCost="6" />
- <ExternalInterface toward="N12" advertisedExternalNetworkAddress="RT5>N12" advertisedExternalNetworkMask="RT5>N12" externalInterfaceOutputCost="8" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
- <ExternalInterface toward="N14" advertisedExternalNetworkAddress="RT5>N14" advertisedExternalNetworkMask="RT5>N14" externalInterfaceOutputCost="8" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
- </Router>
- <Router name="RT6" RFC1583Compatible="true">
- <PointToPointInterface toward="RT3" areaID="0.0.0.0" interfaceOutputCost="6" />
- <PointToPointInterface toward="RT10" areaID="0.0.0.0" interfaceOutputCost="7" />
- <PointToPointInterface toward="RT5" areaID="0.0.0.0" interfaceOutputCost="6" />
- </Router>
- <Router name="RT7" RFC1583Compatible="true">
- <PointToPointInterface toward="RT5" areaID="0.0.0.0" interfaceOutputCost="6" />
- <BroadcastInterface toward="Area2.N6" areaID="0.0.0.2" interfaceOutputCost="1" routerPriority="1" />
- <ExternalInterface toward="N15" advertisedExternalNetworkAddress="RT7>N15" advertisedExternalNetworkMask="RT7>N15" externalInterfaceOutputCost="9" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
- <ExternalInterface toward="N12" advertisedExternalNetworkAddress="RT7>N12" advertisedExternalNetworkMask="RT7>N12" externalInterfaceOutputCost="2" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
- </Router>
- <Router name="Area2.RT8" RFC1583Compatible="true">
- <BroadcastInterface toward="Area2.N6" areaID="0.0.0.2" interfaceOutputCost="1" routerPriority="1" />
- <BroadcastInterface toward="Area2.N7" areaID="0.0.0.2" interfaceOutputCost="4" routerPriority="1" />
- </Router>
- <Router name="Area3.RT9" RFC1583Compatible="true">
- <BroadcastInterface toward="Area3.N11" areaID="0.0.0.3" interfaceOutputCost="3" routerPriority="1" />
- <BroadcastInterface toward="Area3.N9" areaID="0.0.0.3" interfaceOutputCost="1" routerPriority="1" />
- </Router>
- <Router name="RT10" RFC1583Compatible="true">
- <PointToPointInterface toward="RT6" areaID="0.0.0.0" interfaceOutputCost="5" />
- <BroadcastInterface toward="Area2.N8" areaID="0.0.0.2" interfaceOutputCost="3" routerPriority="1" />
- <BroadcastInterface toward="Area2.N6" areaID="0.0.0.2" interfaceOutputCost="1" routerPriority="1" />
- <VirtualLink endPointRouterID="RT11%routerId" transitAreaID="0.0.0.2" />
- </Router>
- <Router name="RT11" RFC1583Compatible="true">
- <BroadcastInterface toward="Area3" areaID="0.0.0.3" interfaceOutputCost="1" routerPriority="1" />
- <BroadcastInterface toward="Area2" areaID="0.0.0.2" interfaceOutputCost="2" routerPriority="1" />
- <VirtualLink endPointRouterID="RT10%routerId" transitAreaID="0.0.0.2" />
- </Router>
- <Router name="Area3.RT12" RFC1583Compatible="true">
- <BroadcastInterface toward="Area3.N9" areaID="0.0.0.3" interfaceOutputCost="1" routerPriority="1" />
- <!-- <BroadcastInterface toward="Area3.H1" areaID="0.0.0.3" linkCost="10"/> -->
- <HostInterface toward="Area3.H1" areaID="0.0.0.3" attachedHost="Area3.H1" linkCost="10" />
- <BroadcastInterface toward="Area3.N10" areaID="0.0.0.3" interfaceOutputCost="2" routerPriority="1" />
- </Router>
- </OSPFASConfig>
|