CLI Guide

Table Of Contents
When recursive resolution is satisfied, Dell EMC 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 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
DellEMC(conf)# ip route 1.1.1.0/24 4.4.4.2 weight 100
DellEMC(conf)# ip route 1.1.1.0/24 6.6.6.2 weight 200
DellEMC(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
DellEMC(conf)# ip route vrf test 1.1.1.0/24 4.4.4.2 weight 100
DellEMC(conf)# ip route vrf test 1.1.1.0/24 6.6.6.2 weight 200
DellEMC(conf)#
DellEMC(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 view the switch routing table.
ip source-route
Enable Dell EMC Networking OS to forward IP packets with source route information in the header.
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, see the relevant Dell
EMC Networking OS Command Line Reference Guide.
Version Description
9.10(0.1) Introduced on the S6010-ON and S4048T-ON.
9.10(0.0) Introduced on the S3148.
9.10(0.0) Introduced on the S6100ON.
9.8(2.0) Introduced on the S3100 series.
9.8(1.0) Introduced on the Z9100ON.
9.8(0.0P5) Introduced on the S4048-ON.
9.8(0.0P2) Introduced on the S3048-ON.
9.7(0.0) Introduced on the S6000-ON.
9.2(1.0) Introduced on the Z9500.
9.0.2.0 Introduced on the S6000.
8.3.19.0 Introduced on the S4820T.
800 IPv4 Routing