Static route states follow port states, Configuring a static ip route – Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 65

Advertising
background image

Brocade ICX 6650 Layer 3 Routing Configuration Guide

47

53-1002603-01

Configuring IP parameters – Layer 3 Switches

Static route states follow port states

IP static routes remain in the IP route table only so long as the port or virtual interface used by the
route is available. If the port or virtual routing interface becomes unavailable, the software removes
the static route from the IP route table. If the port or virtual routing interface becomes available
again later, the software adds the route back to the route table.

This feature allows the Layer 3 Switch to adjust to changes in network topology. The Layer 3 Switch
does not continue trying to use routes on unavailable paths but instead uses routes only when their
paths are available.

Figure 4

shows an example of a network containing a static route. The static route is configured on

Switch A, as shown in the CLI example following the figure.

FIGURE 4

Example of a static route

The following command configures a static route to 10.95.7.0, using 10.95.6.157 as the next-hop
gateway.

Brocade(config)# ip route 10.95.7.0/24 10.95.6.157

When you configure a static IP route, you specify the destination address for the route and the
next-hop gateway or Layer 3 Switch interface through which the Layer 3 Switch can reach the route.
The Layer 3 Switch adds the route to the IP route table. In this case, Switch A knows that
10.95.6.157 is reachable through port 1/1/2, and also assumes that local interfaces within that
subnet are on the same port. Switch A deduces that IP interface 10.95.7.188 is also on port 1/1/2.

The software automatically removes a static IP route from the IP route table if the port used by that
route becomes unavailable. When the port becomes available again, the software automatically
re-adds the route to the IP route table.

Configuring a static IP route

To configure an IP static route with a destination address of 192.168.0.0 255.0.0.0 and a next-hop
router IP address of 192.168.1.1, enter a command such as the following.

Brocade(config)# ip route 192.168.0.0 255.0.0.0 192.168.1.1

To configure a static IP route with an Ethernet port instead of a next-hop address, enter a command
such as the following.

Brocade(config)# ip route 192.168.2.69 255.255.255.0 ethernet 1/1/4

The command in the previous example configures a static IP route for destination network
192.168.2.69/24. Since an Ethernet port is specified instead of a gateway IP address as the next
hop, the Layer 3 Switch always forwards traffic for the 192.168.2.69/24 network to port 1/1/4.
The command in the following example configures an IP static route that uses virtual interface 3 as
its next hop.

10.95.7.69/24

10.95.7.7/24

Switch A

Switch B

10.95.6.188/24

10.95.6.157/24

e 1/1/2

e 1/1/3

Advertising