R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

309
Parameters
process-id: OSPF process ID, in the range of 1 to 65535.
interface interface-type interface-number: Displays OSPF routing information advertised via the specified
interface.
nexthop nexthop-address: Displays OSPF routing information with the specified next hop.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display ospf routing 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 75 Command output
Field Descri
p
tion
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
Total Nets Total networks
Intra Area Total intra-area routes
Inter Area Total inter-area routes
ASE Total ASE routes