Administrator Guide

Usage
Information
Using the following example of a static route: ip route 33.33.33.0 /24 tengigabitethernet 1/1 172.31.5.43
The software installs a next hop that is not on the directly connected subnet but which recursively
resolves to a next hop on the interfaces configured subnet. In the example, if tengig 1/1 has an ip
address on subnet 2.2.2.0 and if 172.31.5.43 recursively resolves to 2.2.2.0, Dell Networking OS installs
the static route.
When the interface goes down, Dell Networking OS withdraws the route.
When the interface comes up, Dell Networking OS re-installs the route.
When recursive resolution is broken, Dell Networking OS withdraws the route.
When recursive resolution is satisfied, Dell Networking OS re-installs the route.
You can specify a weight for an IPv4 or IPv6 static route. If the weight value of a path is 0, then that path
is not used for forwarding when weighted ECMP is in effect. Also, if a path corresponding to a static
route (destination) has a non-zero weight assigned to it and other paths do not have any weight
configured, then regular ECMP is used for forwarding.
You can specify the weight value only to destination address and not on the egress port.
A route is considered for weighted ECMP calculations only if each path corresponding to that route is
configured with a weight.
You cannot use the VRF attribute of this command to configure routes in a management VRF. When a
specific VRF is deleted, all the configured static routes corresponding to that VRF are automatically
removed.
Example
Dell(conf)#ip route 1.1.1.0/24 4.4.4.2 weight 100
Dell(conf)#ip route 1.1.1.0/24 6.6.6.2 weight 200
Dell(conf)#do show running-config | grep route ip route 1.1.1.0/24
4.4.4.2 weight 100 ip route 1.1.1.0/24 6.6.6.2 weight 200
Dell(conf)#ip route vrf test 1.1.1.0/24 4.4.4.2 weight 100
Dell(conf)#ip route vrf test 1.1.1.0/24 6.6.6.2 weight 200
Dell(conf)#
Dell(conf)#do show running-config | grep route ip route vrf test
1.1.1.0/24 4.4.4.2 weight 100 ip route vrf test 1.1.1.0/24 6.6.6.2
weight 200
Related
Commands
show ip route views the switch routing table.
ip source-route
Enable the system to forward IP packets with source route information in the header.
C9000 Series
Syntax
ip source-route
To drop packets with source route information, use the no ip route-source command.
Defaults Enabled.
Command Modes CONFIGURATION
Command
History
This guide is platform-specific. For command information about other platforms, refer to the relevant Dell
Networking OS Command Line Reference Guide.
The following is a list of the Dell Networking OS version history for this command.
Version Description
9.9(0.0) Introduced on the C9010.
9.2(1.0) Introduced on the Z9500.
8.3.19.0 Introduced on the S4820T.
926 IPv4 Routing