Administrative distance table
When two routing sources offer the same prefix, the router installs the one with the lower administrative distance. These are the defaults Cisco documents for each source.
| Route source | Default AD |
|---|---|
| Connected | 0 |
| Static | 1 |
| EIGRP summary route | 5 |
| External BGP (eBGP) | 20 |
| Internal EIGRP | 90 |
| IGRP | 100 |
| OSPF | 110 |
| IS-IS | 115 |
| RIP | 120 |
| EGP | 140 |
| On Demand Routing (ODR) | 160 |
| External EIGRP | 170 |
| Internal BGP (iBGP) | 200 |
| Unknown | 255 |
Reading the table
- Lower is more trusted: a static route (1) beats OSPF (110) for the same prefix.
- AD compares sources only for the same prefix and length. A longer prefix wins whatever its source.
- 255 means the route is never installed in the routing table.
- AD is local to one router and is never advertised to its neighbours.
Source: Cisco, What Is Administrative Distance?
