![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/f/27/f2746346-e9b4-4662-9045-6513678ab35a/f2746346-e9b4-4662-9045-6513678ab35a-bg144.png)
Ospf Rtab: Displaying the OSPF Routing Table
Use NCL’s Ospf Rtab command to format and display the OSPF routing
table.
Syntax
ospf rtab
Example
Dest D Mask Area Cost E Path Nexthop Advrtr
AS Border Routes:
14.14.14.14 0.0.0.0 0.0.0.0 2 EXT 190.190.190.13 14.14.14.14
13.13.13.13 0.0.0.0 0.0.0.0 1 EXT 190.190.190.13 14.14.14.14
Area Border Routes:
14.14.14.14 0.0.0.0 0.0.0.0 2 SUM 190.190.190.13 14.14.14.14
Nets:
10.0.0.0
10.0.0.1 255.0.0.0 0.0.0.0 1 0 INTER 10.0.0.1 10.0.0.1
The fields in the table are as follows:
Dest lists the IP network number of the destination.
D Mask lists the IP network mask of the destination.
Area lists the ID of the area whose link state information has led to
the routing table entry’s collection of paths.
Cost lists, for type 2 external paths, the link state cost of the portion
of the path internal to the autonomous system, or the link state cost
of the entire path for other types.
E lists, for type 2 external paths, the cost of the path’s external
portion.
Using the Network Control Language
Managing the Open Shortest Path First Protocol
16-79