Administrative distance
The IP route table contains the best path to a destination. When the software receives paths from more than one of the sources listed above, the software compares the administrative distance of each path and selects the path with the lowest administrative distance. The administrative distance is a protocol-independent value from 1 to 255.
The IP route table is displayed by entering the show ip route
command from any context level in the console
CLI. Here is an example of an entry in the IP route table:
IP route table entry
Destination Gateway VLAN Type Sub-Type Metric Dist. -------------- ----------- ----- --------- ---------- -------- ---- 10.10.10.1/32 10.10.12.1 connected 1 0
Each IP route table entry contains the destination's IP address and subnet mask and the IP address of the next-hop router interface to the destination. Each entry also indicates route type, and for OSPF routes, the subtype, and the route's IP metric (cost.) The type indicates how the IP route table received the route.
To configure a static IP route, see Configuring a static IP route.