Ip Route Default - Dell Networking 2024 Reference Manual

Hide thumbs Also See for Networking 2024:
Table of Contents

Advertisement

prefix-length — Length of prefix. Must be preceded with a forward slash
(/). (Range: 0-32 bits)
nexthopip — 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. The router will prefer a route with a smaller
administrative distance that a route with a higher administrative distance.
Command Mode
Global Configuration mode
User Guidelines
For the static routes to be visible, you must:
Enable ip routing globally.
Enable ip routing for the interface.
Confirm that the associated link is also up.
Example
The following example identifies the
and a preference value of 200.
console(config)#ip route 192.168.10.10 255.255.255.0 192.168.20.1 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
no ip route default
next-hop-ip — IP address of the next hop router.
next-hop-ip
preference
[
next-hop-ip
[
ip-address subnet-mask, next-hop-ip
]
preference
]
IP Routing Commands
1051

Advertisement

Table of Contents
loading

Table of Contents