display ospf nexthop
Use display ospf nexthop to display OSPF next hop information.
Syntax
display ospf [ process-id ] nexthop
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
process-id: Specifies an OSPF process by its ID in the range of 1 to 65535. If you do not specify this argument, the command displays next hop information for all OSPF processes.
Examples
# Display OSPF next hop information.
<Sysname> display ospf nexthop OSPF Process 1 with Router ID 1.1.1.2 Neighbor Nexthop Information NbrID Nexthop Interface RefCount Status 192.168.12.1 0.0.0.0 Vlan10 4 Valid 192.168.12.2 192.168.12.2 Vlan10 3 Valid 192.168.12.1 0.0.0.0 Loop100 1 Valid
Table 41: Command output
Field | Description |
---|---|
NbrID | Neighbor router ID. |
Nexthop | Next hop address. |
Interface | Output interface. |
RefCount | Reference count (routes that use the next hop). |
Status | Next hop status: valid or invalid. |