Cisco Administrative Distance Reference
Administrative distance (AD) is the trustworthiness rating Cisco IOS assigns to a routing source. When multiple protocols learn the same destination prefix, the route with the lowest AD wins and is installed in the routing table. A value of 255 means the route is never used.
Route Selection Order
Cisco IOS selects a route in this order: longest prefix match first, then lowest administrative distance, then lowest metric. Administrative distance only breaks ties between different routing protocols for the same prefix length.
| Route Source | Symbol | Administrative Distance |
|---|---|---|
| Connected interface | C | 0 |
| Static route (to interface) | S | 0 |
| Static route (to next-hop) | S | 1 |
| Summary route (EIGRP) | D EX | 5 |
| External BGP | B | 20 |
| EIGRP (internal) | D | 90 |
| IGRP | I | 100 |
| OSPF | O | 110 |
| IS-IS | i L1/L2 | 115 |
| RIP / RIPv2 | R | 120 |
| EGP | E | 140 |
| ODR (On-Demand Routing) | o | 160 |
| EIGRP (external) | D EX | 170 |
| Internal BGP | B | 200 |
| DHCP default route | S | 254 |
| Unknown / unbelievable | ? | 255 |
Notes
- A static route pointing directly out an interface has AD 0 because it is treated as a connected route. A static route pointing to a next-hop IP has AD 1.
- EIGRP summary routes (AD 5) rank above external BGP (AD 20) so that summaries are preferred over external paths.
- Administrative distance is configurable per protocol and per static route using the
distancecommand or the trailing AD argument on a static route (ip route x.x.x.x y.y.y.y z.z.z.z 250). - Floating static routes use an AD higher than the dynamic protocol (e.g., 250) so the static route only installs when the dynamic route withdraws.
Related Tools
- Cisco Interface Config Generator — generate interface configurations including routing.
- Cisco DHCP Config Generator — build DHCP pool and default-route configurations.
Technically Reviewed By
Senior Enterprise Network Engineer — 25+ years of IT and network infrastructure experience, including enterprise Cisco switching, routing, wireless, firewalls, VPN, network access control, SD-WAN, and large-scale network operations.
Last reviewed: 2026-09-02
Calculations are performed using standards-based formulas and verified against known reference values. All computation runs client-side in your browser.