<P> The router will usually compare administrative distances to determine which protocol has the lowest value . The router prefers protocols that have a lower assigned administrative distance . For example, OSPF has a default distance of 110, so it is preferred by the router process, over RIP, which has a default distance of 120 . The administrator can arbitrarily reconfigure the administrative distances, which affects the ranking of the preferred routes by the routing process . On Cisco routers, static routes have an administrative distance of 1, making them preferred over routes issued by a dynamic routing protocol . The administrative distance is a value that is always only referenced by the local router itself . The administrative distance is not advertised on the network . </P> <P> The following table lists the default administrative distances for various routing protocols used on Cisco routers . </P> <Table> <Tr> <Th> Routing Protocol </Th> <Th> Administrative distance </Th> </Tr> <Tr> <Td> Directly connected interface </Td> <Td> 0 </Td> </Tr> <Tr> <Td> Static route out an interface </Td> <Td> </Td> </Tr> <Tr> <Td> Static route to next - hop address </Td> <Td> </Td> </Tr> <Tr> <Td> DMNR - Dynamic Mobile Network Routing </Td> <Td> </Td> </Tr> <Tr> <Td> EIGRP summary route </Td> <Td> 5 </Td> </Tr> <Tr> <Td> External BGP </Td> <Td> 20 </Td> </Tr> <Tr> <Td> Internal EIGRP </Td> <Td> 90 </Td> </Tr> <Tr> <Td> IGRP </Td> <Td> 100 </Td> </Tr> <Tr> <Td> OSPF </Td> <Td> 110 </Td> </Tr> <Tr> <Td> IS - IS </Td> <Td> 115 </Td> </Tr> <Tr> <Td> Routing Information Protocol (RIP) </Td> <Td> 120 </Td> </Tr> <Tr> <Td> Exterior Gateway Protocol (EGP) </Td> <Td> 140 </Td> </Tr> <Tr> <Td> On Demand Routing (ODR) </Td> <Td> 160 </Td> </Tr> <Tr> <Td> External EIGRP </Td> <Td> 170 </Td> </Tr> <Tr> <Td> Internal BGP </Td> <Td> 200 </Td> </Tr> <Tr> <Td> Next Hop Resolution Protocol (NHRP) </Td> <Td> 250 </Td> </Tr> <Tr> <Td> Floating Static Route (ex. backup default route) </Td> <Td> Variable--user assigned </Td> </Tr> <Tr> <Td> Unknown (Others) </Td> <Td> 255 </Td> </Tr> </Table> <Tr> <Th> Routing Protocol </Th> <Th> Administrative distance </Th> </Tr>

What is the administrative distance for ospf in cisco networking