Foundry Configuration Guide for the FESX, FSX, and FWSX
16 - 34
© Foundry Networks, Inc.
December 2005
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 16.2 shows an example of a network containing a static route. The static route is configured on Router A,
as shown in the CLI example following the figure.
Figure 16.2
Example of a static route
The following command configures a static route to 207.95.7.0, using 207.95.6.157 as the next-hop gateway.
FastIron SuperX Router(config)# ip route 207.95.7.0/24 207.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, Router A knows that 207.95.6.157 is reachable through port 1/2, and also
assumes that local interfaces within that sub-net are on the same port. Router A deduces that IP interface
207.95.7.188 is also on port 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.0.0.0 255.0.0.0 and a next-hop router IP address
of 195.1.1.1, enter the following commands:
FastIron SuperX Router(config)# ip route 192.0.0.0 255.0.0.0 195.1.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.
FastIron SuperX Router(config)# ip route 192.128.2.69 255.255.255.0 ethernet 4/1
The command in the example above configures a static IP route for destination network 192.128.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.128.2.69/24 network to port 4/1. The command in the following example configures an IP static
route that uses virtual interface 3 as its next hop.
FastIron SuperX Router(config)# ip route 192.128.2.71 255.255.255.0 ve 3
The command in the following example configures an IP static route that uses port 2/2 as its next hop.
FastIron SuperX Router(config)# ip route 192.128.2.73 255.255.255.0 ethernet 2/2
Syntax:
ip route <dest-ip-addr> <dest-mask>
<next-hop-ip-addr> |
207.95.7.69/24
207.95.6.188/24
e 1/2
207.95.6.157/24
207.95.7.7/24
Router A
Router B
Содержание FastIron Edge Switch X424
Страница 36: ...Foundry Configuration Guide for the FESX FSX and FWSX 2 12 Foundry Networks Inc December 2005...
Страница 56: ...Foundry Configuration Guide for the FESX FSX and FWSX 3 20 Foundry Networks Inc December 2005...
Страница 70: ...Foundry Configuration Guide for the FESX FSX and FWSX 4 14 Foundry Networks Inc December 2005...
Страница 198: ...Foundry Configuration Guide for the FESX FSX and FWSX 8 38 Foundry Networks Inc December 2005...
Страница 316: ...Foundry Configuration Guide for the FESX FSX and FWSX 12 26 Foundry Networks Inc December 2005...
Страница 334: ...Foundry Configuration Guide for the FESX FSX and FWSX 13 18 Foundry Networks Inc December 22 2005...
Страница 350: ...Foundry Configuration Guide for the FESX FSX and FWSX 15 12 Foundry Networks Inc December 2005...
Страница 458: ...Foundry Configuration Guide for the FESX FSX and FWSX 18 18 Foundry Networks Inc December 2005...
Страница 712: ...Foundry Configuration Guide for the FESX FSX and FWSX 22 32 Foundry Networks Inc December 2005...
Страница 760: ...Foundry Configuration Guide for the FESX FSX and FWSX A 34 Foundry Networks Inc December 2005...
Страница 796: ...Foundry Configuration Guide for the FESX FSX and FWSX C 18 Foundry Networks Inc December 2005...
Страница 820: ...Foundry Configuration Guide for the FESX FSX and FWSX E 10 Foundry Networks Inc December 2005...