4-27
View
Any view
Parameters
process-id: OSPF process ID, in the range of 1 to 65535. If you do not specify a process ID, this
command applies to all current OSPF processes.
Description
Use the display ospf routing command to display the information about OSPF routing table.
Examples
# Display OSPF routing information.
<Sysname> display ospf routing
OSPF Process 1 with Router ID 1.1.1.1
Routing Tables
Routing for Network
Destination Cost Type NextHop AdvRouter Area
10.110.0.0/16 1 Net 10.110.10.1 10.10.10.1 0.0.0.0
10.10.0.0/16 1 Stub 10.10.0.1 3.3.3.3 0.0.0.0
Total Nets: 2
Intra Area: 2 Inter Area: 0 ASE: 0 NSSA: 0
Table 4-15 Description on the fields of the display ospf routing command
Field Description
Destination IP address of the destination network
Cost Cost of a route
Type Type of route
NextHop Next hop of route
AdvRouter ID of the router that advertises the route
Area Area ID
Total Nets
Total number of intra-area routes, inter-area routes, external
routes, and NSSA routes
Intra Area Number of intra-area routes
Inter Area Number of inter-area routes
ASE Number of external routes
NSSA Number of NSSA routes
display ospf vlink
Syntax
display ospf [ process-id ] vlink