90
mask
: Specifies the mask in dotted decimal notation.
mask-length
: Specifies mask length in the range of 0 to 32 bits.
interface
interface-type interface-number
: Displays routes passing the specified output interface.
nexthop
nexthop-address
: Displays routes passing the specified next hop.
verbose
: Displays detailed OSPF routing information.
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 28
Command output
Field Description
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