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 paths
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 Dell Networking OS to forward IP packets with source route information in the header.
S4820T
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.7(0.0) Introduced on the S6000-ON.
IPv4 Routing
929