Cisco Cisco IOS Software Release 12.4(15)T
OSPFv2 Local RIB
Configuration Examples for the OSPFv2 Local RIB Feature
5
Cisco IOS Release 12.4(15)T
Examples
The sample output displayed for the show ip route command confirms that the administrative distance
for the IP route 192.168.0.0 255.255.255.0 is 110.
for the IP route 192.168.0.0 255.255.255.0 is 110.
Router# show ip route 192.168.0.0 255.255.255.0
Routing entry for 192.168.0.0/24
Known via "ospf 1", distance 110, metric 0, type intra area
Routing Descriptor Blocks:
* directly connected, via Null0
Route metric is 0, traffic share count is 1
Troubleshooting Tips
You can research the output from the debug ip ospf rib command to learn about the function of the local
RIB and the interaction between the route redistribution process and the global RIB. For example, you
can learn why the routes that OSPF placed in the global RIB are not the same ones that you anticipated.
RIB and the interaction between the route redistribution process and the global RIB. For example, you
can learn why the routes that OSPF placed in the global RIB are not the same ones that you anticipated.
Configuration Examples for the OSPFv2 Local RIB Feature
•
•
Changing the Default Local RIB Criteria: Example
In the following example, the local-rib-criteria command is entered without any keywords to specify
that the local RIB will be used as criteria for all of the following options: forwarding address, inter-area
summary, and NSSA translation.
that the local RIB will be used as criteria for all of the following options: forwarding address, inter-area
summary, and NSSA translation.
router ospf 1
router-id 10.0.0.6
local-rib-criteria
Step 5
end
Example:
Router(config-router)# end
Returns to privileged EXEC mode.
Step 6
show ip route
[ip-address [mask]
[longer-prefixes] | protocol [process-id] |
list
[access-list-number | access-list-name] |
static
download]
Example:
Router# show ip route ospf 23
Displays the current state of the routing table.
Note
Entering the show ip route command will verify the
changed administrative distance values for external
and internal discard routes.
changed administrative distance values for external
and internal discard routes.
Command or Action
Purpose