Static route states follow VLAN states
IP static routes remain in the IP route table only so long as the IP interface to the next-hop router is up. If the next-
hop interface goes down, the software removes the static route from the IP route table. If the next-hop interface
comes up again, the software adds the route back to the route table.
This feature allows the routing switch to adjust to changes in network topology. The routing switch does not
continue trying to use routes on unreachable paths, but instead uses routes only when their paths are reachable.
For example, the following command configures a static route to 207.95.7.0 (with a network mask of
255.255.255.0), using 207.95.6.15 as the next-hop router's IP address.
switch(config)# ip route 207.95.7.0/24 207.95.6.15
A static IP route specifies the route's destination address and the next-hop router's IP address or routing switch
interface through which the routing switch can reach the destination. (The route is added to the routing switch's IP
route table.)
In the above example, routing switch "A" knows that 207.95.6.15 is reachable through port A2, and assumes that
local interfaces within that subnet are on the same port. Routing switch "A" deduces that IP interface
207.95.7.188 is also on port A2. The software automatically removes a static route from the route table if the next-
hop VLAN used by that route becomes unavailable. When the VLAN becomes available again, the software
automatically re-adds the route to the route table.
Configuring equal cost multi-path (ECMP) routing for static IP routes
ECMP routing allows multiple entries for routes to the same destination. Each path has the same cost as the
other paths, but a different next-hop router. The
ip load-sharing
command specifies the maximum number of
equal paths that can be configured. Values range from 2 to 4.
Example of an ECMP set with the same destination but different next-hop routers
This example shows configuration of an ECMP set with two different gateways to the same destination address
but through different next-hop routers. For more information, see
IPv6 Configuration Guide
for your switch.
switch(config)# ip route 127.10.144.21/24 10.10.10.2 metric 12 distance 10
switch(config)# ip route 127.10.144.21/24 10.10.10.3 metric 12 distance 10
162
Aruba 3810 / 5400R Multicast and Routing Guide for ArubaOS-
Switch 16.08