Administrator Guide
Version Description
7.9.1.0 Introduced VRF on the E-Series.
7.6.1.0 Introduced on the S-Series.
7.5.1.0 Introduced on the C-Series.
pre-6.1.1.0 Introduced on the E-Series.
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 interface’s configured subnet. In the example, if tengigabitethernet 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 EMC
Networking OS installs the static route.
● When the interface goes down, Dell EMC Networking OS withdraws the route.
● When the interface comes up, Dell EMC Networking OS re-installs the route.
● When recursive resolution is “broken,” Dell EMC Networking OS withdraws the route.
● 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.
IPv4 Routing 809