![Brocade Communications Systems ICX 7250 series Configuration Manual Download Page 184](http://html1.mh-extra.com/html/brocade-communications-systems/icx-7250-series/icx-7250-series_configuration-manual_2817203184.webp)
FIGURE 16
Standard and interface routes to the same destination network
To configure a standard static IP route and a null route to the same network, enter commands such as the following.
device(config)# ip route 192.168.7.0/24 192.168.6.157/24 1
device(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.
To configure a standard static route and an interface-based route to the same destination, enter commands such as the following.
device(config)# ip route 192.168.6.0/24 ethernet 1/1/1 1
device(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/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.
Static routes configuration
Brocade FastIron Layer 3 Routing Configuration Guide
184
53-1003903-04
Summary of Contents for ICX 7250 series
Page 2: ...Brocade FastIron Layer 3 Routing Configuration Guide 2 53 1003903 04...
Page 16: ...Brocade FastIron Layer 3 Routing Configuration Guide 16 53 1003903 04...
Page 20: ...Brocade FastIron Layer 3 Routing Configuration Guide 20 53 1003903 04...
Page 36: ...Brocade FastIron Layer 3 Routing Configuration Guide 36 53 1003903 04...
Page 124: ...Brocade FastIron Layer 3 Routing Configuration Guide 124 53 1003903 04...
Page 174: ...Brocade FastIron Layer 3 Routing Configuration Guide 174 53 1003903 04...
Page 188: ...Brocade FastIron Layer 3 Routing Configuration Guide 188 53 1003903 04...
Page 202: ...Brocade FastIron Layer 3 Routing Configuration Guide 202 53 1003903 04...
Page 470: ...Brocade FastIron Layer 3 Routing Configuration Guide 470 53 1003903 04...