<Sysname> display ospf nexthop
OSPF Process 1 with Router ID 192.168.0.1
Next Hops:
Address
----------------------------------------------------------------
192.168.0.1
192.168.0.2
192.168.1.1
Table 4-9 display ospf nexthop command output description
Field
Next hops
Address
Refcount
IntfAddr
Intf 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.
Routing Nexthop Information
Refcount IntfAddr
1
192.168.0.1
1
192.168.0.1
1
192.168.1.1
Information about Next hops
Next hop address
Reference count, namely, routes that reference the next hop
Outbound interface address
Outbound interface name
Intf Name
Vlan-interface1
Vlan-interface1
Vlan-interface2
Description
4-22