Default level
1: Monitor level
Parameters
process-id
: OSPF process 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.
Description
Use
display ospf nexthop
to display OSPF next hop information.
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 Vlan-interface11
192.168.0.2 1 192.168.0.1 Vlan-interface11
192.168.1.1 1 192.168.1.1 Vlan-interface12
Table 20 Command output
Field Description
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
display ospf peer
Syntax
display ospf
[
process-id
]
peer
[
verbose
]
[
interface-type interface-number
]
[
neighbor-id
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
79