beautypg.com

Figure 12 – Brocade BigIron RX Series Configuration Guide User Manual

Page 288

background image

210

BigIron RX Series Configuration Guide

53-1002484-04

Configuring forwarding parameters

7

FIGURE 12

Standard and interface routes to the same destination network

To configure a standard static IP route and a null route to the same network as shown in

Figure 11

on page 209, enter commands such as the following.

BigIron RX(config)# ip route 192.168.7.0/24 192.168.6.157/24 1

BigIron RX(config)# ip route 192.168.7.0/24 null0 3

The first command configures a standard static route, which includes specification of the next-hop
gateway. The command also gives the standard static route a metric of 1, which causes the device
to always prefer this route when the route is available.

The second command configures another static route for the same destination network, but the
second route is a null route. The metric for the null route is 3, which is higher than the metric for
the standard static route. If the standard static route is unavailable, the software uses the null
route.

For complete syntax information, refer to

“Configuring a static IP route”

on page 203.

To configure a standard static route and an interface-based route to the same destination, enter
commands such as the following.

BigIron RX(config)# ip route 192.168.6.0/24 ethernet 1/1 1

BigIron RX(config)# ip route 192.168.6.0/24 192.168.8.11/24 3

The first command configured an interface-based static route through Ethernet port 1/1. The
command assigns a metric of 1 to this route, causing the device to always prefer this route when it
is available. If the route becomes unavailable, the device uses an alternate route through the
next-hop gateway 192.168.8.11/24.

Two static routes to 192.168.7.0/24:

--Interface-based route through
port1/1, with metric 1.

--Standard static route through
gateway 192.168.8.11, with metric 3.

Router A

Router B

Router C

Router D

192.168.6.69/24

192.168.6.188/24
Port1/1

192.168.8.12/24
Port4/4

192.168.8.11/24

If route through interface
1/1 becomes unavailable,
Router A uses alternate
route through gateway
192.168.8.11/24.

When route through interface
1/1 is available, Router A always
uses that route.