
Administering TCP/IP
Managing the Internet Protocol (IP)
MAX Administration Guide
7-7
During a session, add a static route to the MAX unit’s routing table. When the unit resets, the
IP route is removed. Enter the IProute Add command in the following format:
iproute add destination gateway [metric]
where
destination
is the destination network address,
gateway
is the IP address of the
router that can forward packets to that network, and
metric
is the virtual hop count to the
destination network (default 8). For example, to add a route to the 10.1.2.0 network and all of
its subnets through the IP router located at 10.0.0.3/24 with a metric of 1 (the router is one hop
away), enter the following command:
ascend% iproute add 10.1.2.0 10.0.0.3/24 1
If you try to add a route to a destination that already exists in the routing table, the unit replaces
the existing route, but only if it has a higher metric than the new route. If you get the message
Warning: a better route appears to exist
, the unit rejected your attempt to
add a route because the routing table already contained a route, to the same destination, with a
lower metric.
During a session, it is possible to remove a route from the MAX unit’s routing table. When the
unit resets, the route is restored. Enter the IProute Delete command in the following format:
iproute delete destination gateway
For example:
ascend% iproute delete 10.1.2.0 10.0.0.3/24
Displaying IP route statistics
A MAX unit can perform the function of an IP router which sends IP packets from a source to
a destination by multiple paths. As an IP router, the unit routes IP packets between its Ethernet
interfaces and across any WAN interface configured for IP routing. Determine the Ethernet
interfaces and WAN interfaces to which the unit routes packets in the IP routing table. Add and
delete routes by using the unit’s terminal-server command-line interface (CLI).
Pref
Preference value of the route. All routes that come from RIP have a
preference value of 100, while the preference value of each individ-
ual static route can be set independently.
Metric
RIP-style metric for the route, with a valid range of 0-16. Routes
learned from OSPF show a RIP metric of 10. OSPF Cost infinity
routes show a RIP metric of 16.
Use
Count of the number of times the route was referenced since it was
created. (Many of these references are internal, so this is not a count
of the number of packets sent over this route.)
Age
Age of the route in seconds, used for troubleshooting to determine
when routes are changing rapidly or flapping.
Table 7-3. IP routing table fields and definitions (continued)
Field
Definition