To force the autonomous system boundary router to generate a default route, perform the following task in router configuration mode.
Command | Purpose |
redistribute {kernel connected static | Redistribute routes into OSPF routing |
rip bgp} [metric | domain. |
type |
|
5.7.16 Change the OSPF Administrative Distances
An administrative distance is a value that rates the trustworthiness of a routing information source, such as an individual router or a group of routers. Numerically, an administrative distance is an integer between 0 and 255. The higher the value, the lower the trust rating. An administrative distance of 255 means the routing information source cannot be trusted at all and should be ignored.
OSPF uses three different administrative distances:
To change any of the OSPF distance values, use the following command in router configuration mode.
Command | Purpose |
distance ospf {external distance1 | Change the OSPF administrative distance |
distance2 | values. |
5.7.17 Suppress Routes on an Interface
The interface specified as passive appears as a stub network in the OSPF domain. OSPF routing information is neither sent nor received through that specified router interface.
To suppress routes on a specified interface, use the following command in router configuration mode.
Command | Purpose |
Suppress the sending of routes through the | |
| specified interface. |
5.7.18 Prevent Routes from being Advertised in Routing Updates
To prevent other routers from learning one or more routes, the user can suppress routes from being advertised in routing updates. Note that this feature applies only to external routes.
To suppress routes from being advertised in routing updates, perform the following task in router configuration mode.
Command | Purpose |
Permit or deny routes from being advertised in | |
connected kernel rip static} | routing updates, depending upon the action |
| listed in the access list. |
5.7.19 Monitor and Maintain OSPF
The user can display specific statistics such as the contents of IP routing tables and databases. The information provided can be used to determine resource utilization and solve network problems. The user can also display information about node availability and discover the routing path that packets are taking through the network.
62