Command
Neighbor
Use
This command tells OSPF to communicate with unicast updates to a specific neighbor. This is particularly useful over non-broadcast links, such as frame-relay, as adjacenies will not form by default.
Syntax
Router(config-router)#neighbor <ip address>
Example
In this example, we will configure R4 to send its updates to R3 using unicast. First, we’ll configure OSPF on R1, R3, and R4 for all interfaces.
R4(config-router)#router ospf 1 |
After a couple minutes R4 still doesn’t have any adjacencies.
R4(config-router)#do show ip ospf neighbor R4(config-router)# |
Notice that the OSPF network type is non_broadcast, so it will require unicast updates.
R4(config)#do show ip ospf interface s0/0 |
After we configure the neighbor statement, the adjacencies come up.
R4(config)#router ospf 1 R4(config-router)# |