Example, Ip route default, Syntax – Dell POWEREDGE M1000E User Manual

Page 922: Default configuration, Command mode, User guidelines

Advertising
background image

922

IP Routing Commands

Example

The following example identifies the

ip-address subnet-mask, next-hop-ip

and a preference value of 200.

console(config)#ip route 192.168.10.10 255.255.255.0

192.168.20.1 metric 200

ip route default

Use the ip route default command in Global Configuration mode to

configure the next hop address of the default route. Use the no form of the

command to delete the default route.

Syntax

ip route default

next-hop-ip

[

preference

]

no ip route default

next-hop-ip

[

preference

]

next-hop-ip

— IP address of the next hop router.

preference

— Specifies the preference value, a.k.a administrative distance,

of an individual static route. (Range: 1-255)

Default Configuration

Default value of preference is 1.

Command Mode

Global Configuration mode

User Guidelines

For routed management traffic:

1 Router entries are checked for applicable destinations.
2 The globally assigned default-gateway is consulted.

If DHCP is enabled on multiple in-band interfaces and the system learns a

different default gateway on each, the system retains the first default gateway

it learns and ignores any others. If the first default gateway is lost, the system

does not revert to an alternate default gateway until it renews its IP address.

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

Advertising