4-22
<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-interface1
192.168.0.2 1 192.168.0.1 Vlan-interface1
192.168.1.1 1 192.168.1.1 Vlan-interface2
Table 4-9 display ospf nexthop
command output description
Field
Description
Next hops
Information about Next hops
Address
Next hop address
Refcount
Reference count, namely, 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
]
View
Any view
Default Level
1: Monitor level
Parameters
process-id
: OSPF process ID, in the range 1 to 65535.
verbose
: Displays detailed neighbor information.
interface-type interface-number
: Interface type and interface number.
neighbor-id
: Neighbor router ID.
Description
Use the
display ospf peer
command to display information about OSPF neighbors.
Note that:
If no OSPF process is specified, OSPF neighbor information of all OSPF processes is displayed.
If an interface is specified, the neighbor on the interface is displayed.
If a neighbor ID is specified, detailed information about the neighbor is displayed,
If neither interface nor neighbor ID is specified, brief information about neighbors of the specified
OSPF process or all OSPF processes is displayed.