Foundry Networks Switch and Router Installation And Configuration Manual page 484

Switch and router
Table of Contents

Advertisement

Foundry Switch and Router Installation and Configuration Guide
BigIron(config)# ip route 192.128.2.73 255.255.255.0 pos 2/2
Syntax: ip route <dest-ip-addr> <dest-mask>
<next-hop-ip-addr> |
ethernet <portnum> | pos <portnum> | ve <num>
[<metric>] [distance <num>]
or
Syntax: ip route <dest-ip-addr>/<mask-bits>
<next-hop-ip-addr> |
ethernet <portnum> | pos <portnum> | ve <num>
[<metric>] [distance <num>]
The <dest-ip-addr> is the route's destination. The <dest-mask> is the network mask for the route's destination IP
address. Alternatively, you can specify the network mask information by entering a forward slash followed by the
number of bits in the network mask. For example, you can enter 192.0.0.0 255.255.255.0 as 192.0.0.0/.24.
The <next-hop-ip-addr> is the IP address of the next-hop router (gateway) for the route.
If you do not want to specify a next-hop IP address, you can instead specify a port or interface number on the
Layer 3 Switch. The <num> parameter is a virtual interface number. If you instead specify an Ethernet or POS
port, the <portnum> is the port's number (including the slot number, if you are configuring a Chassis device). In
this case, the Layer 3 Switch forwards packets destined for the static route's destination network to the specified
interface. Conceptually, this feature makes the destination network like a directly connected network, associated
with a specific Layer 3 Switch interface.
NOTE: The port or virtual interface you use for the static route's next hop must have at least one IP address
configured on it. The address does not need to be in the same sub-net as the destination network.
The <metric> parameter can be a number from 1 – 16. The default is 1.
NOTE: If you specify 16, RIP considers the metric to be infinite and thus also considers the route to be
unreachable.
The distance <num> parameter specifies the administrative distance of the route. When comparing otherwise
equal routes to a destination, the Layer 3 Switch prefers lower administrative distances over higher ones, so make
sure you use a low value for your default route. The default is 1.
NOTE: The Layer 3 Switch will replace the static route if the router receives a route with a lower administrative
distance. See "Changing Administrative Distances" on page 19-33 for a list of the default administrative distances
for all types of routes.
NOTE: You can also assign the default router as the destination by entering 0.0.0.0 0.0.0.0.
USING THE WEB MANAGEMENT INTERFACE
1.
Log on to the device using a valid user name and password for read-write access. The System configuration
panel is displayed.
2.
Click on the plus sign next to Configure in the tree view to expand the list of configuration options.
3.
Click on the plus sign next to IP in the tree view to expand the list of IP option links.
4.
Click on the General link to display the IP configuration panel.
5.
Click the Static Route link.
If the device does not have any IP static routes, the Static Route configuration panel is displayed.
If a static route is already configured and you are adding a new route, click on the Add Static Route link
to display the Static Route configuration panel.
15 - 42
December 2000

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents