OSPF Configuration
Administrative tools for OSPF routing
Stinger®
IP2000 Configuration Guide
6-19
Example of assigning a cost to a static route
The lower the cost assigned to a route, the more likely the router is to choose the
route to forward traffic. Typically, you account for the bandwidth of a connection
when assigning costs. The Stinger unit has a default cost of
1
for a connected route
(Ethernet) and
10
for an ATM VC. If two paths have the same destination, the Stinger
unit uses the path with the lower cost.
Note
Be careful when assigning costs. Incorrect cost metrics can cause delays and
congestion on the network.
In the following example, an administrator assigns a cost of 25 to a static route:
admin> new ip-route mylink
admin> set dest = 10.1.2.0/24
admin> set gateway = 10.9.8.10
admin> set cost = 25
admin> write -f
Administrative tools for OSPF routing
The
ospf
diagnostic-level commands display information related to OSPF routing,
including the link state advertisements (LSAs); the routing table for border routers;
and the OSPF areas, interfaces, statistics, and routing table. For details, see the
chapter on monitoring OSPF in the Stinger Adminstration Guide.