Command Reference OSPFv2 Commands
This command displays the OSPF internal routes from the local routing device to the ABR or ASBR.
The OSPF internal routing table is different from the one displayed with the show ip route command.
The OSPF internal routing table has the destination address of the router ID instead of the destination
network.
The following example displays the output of the show ip ospf border-mrouters command.
Ruijie# show ip ospf border-routers
OSPF internal Routing Table
Codes:i - Intra-area route, I - Inter-area route
i 1.1.1.1 [2] via 10.0.0.1, FastEthernet 0/1, ABR, ASBR, Area 0.0.0.1 select
The following table describes fields in the output.
Route type code, where “i” means intra-area routes, while “I” means
inter-area routes.
Displays the OSPF ID of the border device.
Displays the cost to the border device.
Displays the next-hop gateway to the border device.
Displays the interface to the border device.
Displays the type of the border device, including ABR, ASBR, or
both.
Displays the area that learns the route.
Indicates the currently selected optimal path when there are multiple
paths to the ASBR.
2.52 show ip ospf database
Use this command to display the OSPF link state database information. Use the no form of this
command to restore the default setting. Different formats of the command will display different LSA
information.
show ip ospf [ process-id [ area-id | ip-address ] ] database [ { asbr-summary | external | network |
nssa-external | opaque-area | opaque-as | opaque-link | router | summary } ] [ { adv-router
ip-address | self-originate } | link-state-id | brief ] [ database-summary | max-age | detail ]