Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches Chapter 3 OSPF Configuration Commands
3-29
View
Any view
Parameters
process-id: OSPF process ID, in the range 1 to 65535.
interface interface-type interface-number: Displays OSPF routing information
advertised via the interface.
nexthop nexthop-address: Displays OSPF routing information with the specified next
hop.
Description
Use the display ospf routing command to display OSPF routing information.
If no OSPF process is specified, the routing information of all OSPF processes is
displayed.
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 3-15 Description on the fields of the display ospf routing command
Field Description
Destination Destination network
Cost Cost to destination
Type
Route type: intra-area, transit, stub, inter-area, type1
external, type2 external.
NextHop Next hop address
AdvRouter Advertising router
Area Area ID