R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference
86
display ospf nexthop
Use display ospf nexthop to display OSPF next hop information.
Syntax
display ospf [ process-id ] nexthop [ | { 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.
|: 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 next hop information of all OSPF processes is displayed.
Examples
# Display OSPF next hop information.
<Sysname> display ospf nexthop
OSPF Process 1 with Router ID 192.168.0.1
Routing Nexthop Information
Next Hops:
Address Refcount IntfAddr Intf Name
----------------------------------------------------------------
192.168.0.1 1 192.168.0.1 GigabitEthernet2/1/1
192.168.0.2 1 192.168.0.1 GigabitEthernet2/1/1
192.168.1.1 1 192.168.1.1 GigabitEthernet2/1/2
Table 20 Command output
Field Descri
p
tion
Next Hops Information about Next hops.
Address Next hop address.
Refcount Reference count (routes that reference the next hop)
IntfAddr Outbound interface address.
Intf Name Outbound interface name.