Ip routing protocol-independent commands, Ip route, 41 ip routing protocol-independent commands 715 – Dell PowerEdge VRTX User Manual

Page 715

Advertising
background image

Template Last Updated - 2/7/2007

IP Routing Protocol-Independent Commands

715

D E LL CO N F I D E N T IA L – P R E L I M I N A RY 4 / 3 / 14 - F O R PR O O F O N LY

43

IP Routing Protocol-Independent

Commands

ip route

To establish static routes, use the ip route command in global configuration

mode. To remove static routes, use the no form of this command.

Syntax

ip route

prefix

{

mask

| /

prefix-length

} {{

ip-address

[metric

value

]}}

no ip route

prefix

{

mask

| /

prefix-length

} [

ip-address

]

Parameters

prefix

—IP route prefix for the destination.

mask

—Prefix mask for the destination.

/

prefix-length

—Prefix mask for the destination.Specifies the number of

bits that comprise the IP address prefix. The prefix length must be

preceded by a forward slash (/). (Range: 0–32)

ip-address

—IP address of the next hop that can be used to reach that

network.

metric

value

—Metric of the route. The default metric is 1 for the Next

Hop on an In-Band interface and 1 for the Next Hop on OOB. Range:

1–255.

Default Configuration

No static routes are established.

Command Mode

Global Configuration mode

Advertising