HP 3500YL User Manual

Page 202

Advertising
background image

IP Routing Features
Configuring Static IP Routes

distance

Specifies the administrative distance to asso­
ciate with a static route. If not specified, this
value is set to a default of 1. For more on this
topic, refer to “Administrative Distance” on
page 5-9
. (Range: 1 - 255)

tag

Specifies a unique integer value for a given
ECMP set (destination, metric, distance).

The

no form of the command deletes the specified route for the specified

destination next-hop pair.

The following example configures two static routes for traffic delivery and
identifies two other null routes for which traffic should be discarded instead
of forwarded.

ProCurve(config)# ip route 10.10.40.0/24 10.10.10.1

ProCurve(config)# ip route 10.10.50.128/27 10.10.10.1

ProCurve(config)# ip route 10.10.20.177/32 reject

ProCurve(config)# ip route 10.10.30.0/24 blackhole

Configures static
routes to two different
network destinations
using the same next-
hop router IP address.

Configures a null route
to drop traffic for the
device at 10.50.10.177
and return an ICMP
notification to the
sender.

Configures a null route to drop traffic for the 10.50.10.0
network without any ICMP notification to the sender.

Figure 5-7. Example of Configuring Static Routes

Configuring Equal Cost Multi-Path (ECMP) Routing for Static
IP Routes

Equal Cost Multi-Path 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-4. See page 5-122
for more information about the

ip load-sharing command.

Figure 5-8 shows configuration of an ECMP set with routes to the same
destination but through different next-hop routers. For more information
about ECMP, see “OSPF Equal-Cost Multipath (ECMP) for Different Subnets
Available Through the Same Next-Hop Routes” on page 5-121.

5-28

Advertising