< Home

display ospf nexthop

Function

The display ospf nexthop command displays OSPF next hop information.

Format

display ospf [ process-id ] nexthop

Parameters

Parameter Description Value
process-id Specifies the ID of an OSPF process. The value is an integer ranging from 1 to 65535.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The command output can display information about all the OSPF next hops, which helps you troubleshoot OSPF faults.

Example

# Display OSPF next hop information.

<HUAWEI> display ospf nexthop
                OSPF Process 100 with Router ID 10.0.0.1
                       Routing Nexthop information
Next hops:
Address          Type      Refcount  IntfAddr       Intf Name
----------------------------------------------------------------------
10.0.0.1         Local     3         10.0.0.1       Vlanif100
10.0.0.2         Local     5         10.0.0.1       Vlanif100
Table 1 Description of the display ospf nexthop command output

Item

Description

Next hops

Detailed information about the next hop.

Address

Address of the next hop.

Type

Type of the route passing through the next hop. Local indicates that the route is destined for the local network segment.

Refcount

Number of OSPF routes that use the next hop.

IntfAddr

IP address of the interface.

Intf Name

Name of the interface.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >