Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 68

Advertising
background image

50

Brocade ICX 6650 Layer 3 Routing Configuration Guide

53-1002603-01

Configuring IP parameters – Layer 3 Switches

Backup Routes – If you configure multiple static IP routes to the same destination, but give the
routes different next-hop gateways and different metrics, the Layer 3 Switch will always use the
route with the lowest metric. If this route becomes unavailable, the Layer 3 Switch will fail over
to the static route with the next-lowest metric, and so on.

NOTE

You also can bias the Layer 3 Switch to select one of the routes by configuring them with different
administrative distances. However, make sure you do not give a static route a higher administrative
distance than other types of routes, unless you want those other types to be preferred over the static
route. For a list of the default administrative distances, refer to

“Administrative distance”

on

page 207.

The steps for configuring the static routes are the same as described in the previous section. The
following sections provide examples.

To configure multiple static IP routes, enter commands such as the following.

Brocade(config)# ip route 192.168.2.69 255.255.255.0 192.168.22.1

Brocade(config)# ip route 192.168.2.69 255.255.255.0 192.168.10.1

The commands in the previous example configure two static IP routes. The routes go to different
next-hop gateways but have the same metrics. These commands use the default metric value (1),
so the metric is not specified. These static routes are used for load sharing among the next-hop
gateways.

The following commands configure static IP routes to the same destination, but with different
metrics. The route with the lowest metric is used by default. The other routes are backups in case
the first route becomes unavailable. The Layer 3 Switch uses the route with the lowest metric if the
route is available.

Brocade(config)# ip route 192.168.2.69 255.255.255.0 192.168.22.1

Brocade(config)# ip route 192.168.2.69 255.255.255.0 192.168.10.1 2

Brocade(config)# ip route 192.168.2.69 255.255.255.0 192.168.1 3

In this example, each static route has a different metric. The metric is not specified for the first
route, so the default (1) is used. A metric is specified for the second and third static IP routes. The
second route has a metric of two and the third route has a metric of 3. Thus, the second route is
used only of the first route (which has a metric of 1) becomes unavailable. Likewise, the third route
is used only if the first and second routes (which have lower metrics) are both unavailable.

For complete syntax information, refer to

“Configuring a static IP route”

on page 47.

Configuring standard static IP routes and interface or null static routes to the
same destination

You can configure a null0 or interface-based static route to a destination and also configure a
normal static route to the same destination, so long as the route metrics are different.

When the Layer 3 Switch has multiple routes to the same destination, the Layer 3 Switch always
prefers the route with the lowest metric. Generally, when you configure a static route to a
destination network, you assign the route a low metric so that the Layer 3 Switch prefers the static
route over other routes to the destination.

Advertising