CLI Reference Guide

1072 IP Routing Commands
S 0.0.0.0/0 [254/0] via 10.1.20.1
C *10.1.20.0/24 [0/1] directly connected, Vl2
C *4.4.0.0/16 [0/1] directly connected, Lo1
C *20.1.20.0/24 [0/1] directly connected, Vl4
console# show ip route 10.2.0.0
Routing entry for 10.2.0.0 (mask 255.255.0.0)
Known via "ospf", distance 100, metric 0
Redistributing via rip
Last update from 10.2.35.13, 0:0:23 ago
Routing Descriptor Blocks:
* 10.2.35.13, from 10.2.35.13, 0:00:24 ago
Route metric is 0, traffic share count is 1
show ip route preferences
Use the show ip route preferences command in Privileged EXEC mode
displays detailed information about the route preferences. Route preferences
are used in determining the best route. Lower router preference values are
preferred over higher router preference values.
The user can configure a global default gateway using the ip default-gateway
command, creating a default route with a preference of 253. The show ip
route preferences command lists the new preference value. The show
command also displays the preference of default routes learned from a DHCP
server.
Syntax
show ip route preferences
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode, Configuration mode and all Configuration submodes
User Guidelines
This command has no user guidelines.
2CSNXXX_SWUM200.book Page 1072 Tuesday, December 10, 2013 1:22 PM