R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference
93
Field Descri
p
tion
AdvRouter Advertising router.
Sequence LSA sequence number.
Age LSA age.
display ospf routing
Use display ospf routing to display OSPF routing information.
Syntax
display ospf [ process-id ] routing [ interface interface-type interface-number ] [ nexthop
nexthop-address ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
process-id: Specifies an OSPF process by its ID in the range of 1 to 65535.
interface interface-type interface-number: Displays OSPF routing information advertised through 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 Fundamentals Configuration 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.
Usage guidelines
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