127
Usage guidelines
If no OSPF process is specified, this command displays the routing information for all OSPF processes.
If no interface is specified, this command displays OSPF routing information for all interfaces.
If no next hop is specified, this command displays all OSPF routing information.
Examples
# Display OSPF routing information.
<Sysname> display ospf routing
OSPF Process 1 with Router ID 192.168.1.2
Routing Tables
Routing for Network
Destination Cost Type NextHop AdvRouter Area
192.168.1.0/24 1562 Stub 192.168.1.2 192.168.1.2 0.0.0.0
172.16.0.0/16 1563 Inter 192.168.1.1 192.168.1.1 0.0.0.0
Total Nets: 2
Intra Area: 1 Inter Area: 1 ASE: 0 NSSA: 0
Table 43 Command output
Field Descri
tion
Destination Destination network.
Cost Cost to destination.
Type Route type: intra-area, transit, stub, inter-area, Type-1 external, Type-2 external.
NextHop Next hop address.
AdvRouter Advertising router.
Area Area ID.
Total Nets Total networks.
Intra Area Total intra-area routes.
Inter Area Total inter-area routes.
ASE Total ASE routes.
NSSA Total NSSA routes.
# Display detailed OSPF routing information.
<Sysname> display ospf routing verbose
OSPF Process 2 with Router ID 192.168.1.112
Routing Tables
Routing for Network
Destination: 192.168.1.0/24
Cost: 1562 Type: Stub