Administrator Guide

Layer 3 Routing Commands 1528
Syntax
show ip route preferences
Default Configuration
This command has no default configuration.
Command Mode
Privileged Exec mode, Global Configuration mode and all Configuration
submodes
User Guidelines
Route preferences are used in determining the best route. Lower router
preference values are preferred over higher router preference values. This
command displays the route preferences for each possible route origin.
Example
The following example displays IP route preferences.
console#show ip route preferences
Local.......................................... 0
Static......................................... 1
OSPF Intra-area routes......................... 110
OSPF Inter-area routes......................... 110
OSPF External routes........................... 110
RIP............................................ 120
BGP External................................... 20
BGP Internal................................... 200
BGP Local...................................... 200
Configured Default Gateway..................... 253
DHCP Default Gateway........................... 254
show ip route summary
Use the show ip route summary command to display the routing table
summary, including best and non-best routes.
Syntax
show ip route summary [best]
best
Shows the number of best routes. To include the count of all routes, do
not use this optional parameter.