R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)
131
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
p
tion
Destination Destination network.
Cost Cost to destination.
Type Route type: intra-area, transit, stub, inter-area, Type-1 external, and 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
Priority: Low Type: Stub
AdvRouter: 192.168.1.2 Area: 0.0.0.0
SubProtoID: 0x1 Preference: 10
NextHop: 192.168.1.2 BkNextHop: N/A