neighbor

Use this command to configure an OSPF neighbor of this router.

Syntax

neighbor ip-address [priority priority]
no neighbor ip-address [priority priority]

Parameters

priority priority Specifies the OSPF priority of a non-broadcast neighbor. Valid values: 0-255.

Defaults

None.

Mode

OSPF Configuration command.

Usage

OSPF dynamically discovers each neighbor for a given OSPF router. OSPF cannot dynamically discover its neighbors on non-broadcast and point-to-multipoint networks. For these networks neighbors must be configured. The router uses the information in the neighbor entry to send unicast hellos to the neighbor to start an adjacency. Use this command to specify the neighbor this OSPF router will form an adjacency with.

Example

This example shows how to configure neighbor 20.20.20.1 for this router:

System(rw)->configure
System(rw-config)->router ospf 1
System(rw-config-ospf-1)->neighbor 20.20.20.1
System(rw-config-ospf-1)->