Show ip route preferences, Syntax, Default configuration – Dell POWEREDGE M1000E User Manual

Page 932: Command mode, User guidelines, Example

Advertising
background image

932

IP Routing Commands

Default gateway is 10.1.20.1

S 0.0.0.0/0

[

254/0

]

via 10.1.20.1

C 10.1.20.0/24

[

0/1

]

directly connected, vlan2

C 20.1.20.0/24

[

0/1

]

directly connected, vlan4

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

User Guidelines

This command has no user guidelines.

Example

The following example displays IP route preferences.

console#show ip route preferences

2CSPC4.XModular-SWUM200.book Page 932 Thursday, March 10, 2011 11:18 AM

Advertising