Administrator Guide

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.
8.3.11.1 Introduced on the Z9000.
8.3.7.0 Introduced on the S4810.
8.1.1.0 Introduced on the E-Series ExaScale.
7.6.1.0 Introduced on the S-Series.
7.5.1.0 Introduced on the C-Series.
6.1.1.0 Introduced on the E-Series.
888 IPv4 Routing