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

mdc-admin

mdc-operator

Parameters

process-id: Specifies an OSPF process by its ID in the range of 1 to 65535. Without 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
 1.1.1.2         4.4.4.4         Loop1                    1          Valid
 1.1.1.1         1.1.1.1         Eth0/0/2                 3          Valid
 1.1.1.2         1.1.1.2         Eth0/0/2                 4          Valid

Table 36: Command output

Field

Description

NbrId

Neighbor router ID.

Nexthop

Next hop address.

Interface

Output interface.

RefCount

Reference count (routes that reference the next hop).

Status

Next hop status: valid or invalid.