![background image](http://html.mh-extra.com/html/foundry-networks/switch-and-router/switch-and-router_installation-and-configuration-manual_2324275490.webp)
Foundry Switch and Router Installation and Configuration Guide
15 - 48
December 2000
Figure 15.4
Standard and interface routes to the same destination network
To configure the multiple static routes of different types to the same destination, use either of the following
methods.
USING THE CLI
To configure a standard static IP route and a null route to the same network as shown in Figure 15.3 on page 15-
47, enter commands such as the following:
BigIron(config)# ip route 192.168.7.0/24 192.168.6.157/24 1
BigIron(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 Layer 3 Switch 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, see “Configuring a Static IP Route” on page 15-41.
To configure a standard static route and an interface-based route to the same destination, enter commands such
as the following:
BigIron(config)# ip route 192.168.6.0/24 ethernet 1/1 1
BigIron(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 Layer 3 Switch to always prefer this route when it is available. If the route
becomes unavailable, the Layer 3 Switch uses an alternate route through the next-hop gateway 192.168.8.11/24.
Router B
Router D
192.168.6.69/24
Two static routes to 192.168.7.0/24:
--Interface-based route through
port 1/1, with metric 1.
--Standard static route through
gateway 192.168.8.11, with metric 3.
If route through interface
1/1 becomes unavailable,
Router A uses alternate
route through gateway
192.168.8.11/24.
Router A
192.168.8.11/24
When route through interface
1/1 is available, Router A always
uses that route.
Router C
192.168.6.188/24
Port 1/1
192.168.8.12/24
Port 4/4
Summary of Contents for Switch and Router
Page 2: ...December 2000 Copyright 2000 by Foundry Networks Inc ...
Page 26: ...Foundry Switch and Router Installation and Configuration Guide xxvi December 2000 ...
Page 64: ...Foundry Switch and Router Installation and Configuration Guide 2 34 December 2000 ...
Page 162: ...Foundry Switch and Router Installation and Configuration Guide 5 38 December 2000 ...
Page 196: ...Foundry Switch and Router Installation and Configuration Guide 6 34 December 2000 ...
Page 208: ...Foundry Switch and Router Installation and Configuration Guide 7 12 December 2000 ...
Page 236: ...Foundry Switch and Router Installation and Configuration Guide 8 28 December 2000 ...
Page 258: ...Foundry Switch and Router Installation and Configuration Guide 9 22 December 2000 ...
Page 420: ...Foundry Switch and Router Installation and Configuration Guide 13 32 December 2000 ...
Page 442: ...Foundry Switch and Router Installation and Configuration Guide 14 22 December 2000 ...
Page 554: ...Foundry Switch and Router Installation and Configuration Guide 15 112 December 2000 ...
Page 574: ...Foundry Switch and Router Installation and Configuration Guide 16 20 December 2000 ...
Page 626: ...Foundry Switch and Router Installation and Configuration Guide 17 52 December 2000 ...
Page 682: ...Foundry Switch and Router Installation and Configuration Guide 18 56 December 2000 ...
Page 826: ...Foundry Switch and Router Installation and Configuration Guide 20 20 December 2000 ...
Page 994: ...Foundry Switch and Router Installation and Configuration Guide 26 10 December 2000 ...
Page 1004: ...Foundry Switch and Router Installation and Configuration Guide B 6 December 2000 ...
Page 1044: ...Foundry Switch and Router Installation and Configuration Guide C 40 December 2000 ...
Page 1048: ...Foundry Switch and Router Installation and Configuration Guide D 4 December 2000 ...
Page 1070: ...Foundry Switch and Router Installation and Configuration Guide Index 18 December 2000 ...