The table of OSPF Neighbours collects information about router's neighbors, i.e. routers that have interfaces to a common network. On multi-access networks (BMA), neighbors are dynamically discovered by OSPF's Hello Protocol. But for all other types of networks (NBMA, PP, UPP, PMP) neighbors must be configured.
The table of OSPF Neighbours can hold up to 100 definitions.
Commands for managing the table of OSPF Neighbours are the following:
This command shows all currently defined OSPF neighbours:
[16:40:34] ABILIS_CPX:d ospf neigh
- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------
----------------------------------------------------------------
NEIGH: IP: PRIO: POLL: COST:
----------------------------------------------------------------
001.001.001.001 NONE 255 1 0
001.001.002.001 1 0 10 0
002.001.002.000 2 0 10 255
----------------------------------------------------------------
Meaning of the parameters:
NEIGH
This is the neighbour's IP address. IP addresses of class D and E are not actually supported. This table contains the list of all other routers attached to the non-broadcast network. Each router is listed by its IP interface address on the network. Also, for each router listed, that router's eligibility to become Designated Router must be defined. When an interface to a non-broadcast network comes up, the router sends Hello Packets only to those neighbors eligible to become Designated Router, until the identity of the Designated Router is discovered.
IP
Each neighbor links with one OSPF interface only. This parameter defines the number of the IP port that links with OSPF interface.
PRIO
Neighbor's priority.
POLL
Neighbour's poll interval. If a neighboring router has become inactive (Hello Packets have not been seen for Router Dead Interval seconds), it may still be necessary to send Hello Packets to the dead neighbour. These Hello Packets will be sent at the reduced rate Poll Interval, which should be much larger than Hello Interval. Sample value for a PDN X.25 network: 2 minutes (120 seconds).
COST
Neighbor's cost.
This command adds a new entry to the OSPF Neighbours table, identified by the specified IP address. The command also sets the eventually indicated optional parameters to the specified values.
[16:40:39] ABILIS_CPX:a ospf neigh:3.1.2.0 IP:3 prio:10 poll:10 cost:255
COMMAND EXECUTED [16:44:20] ABILIS_CPX:d ospf neigh
- Not Saved (SAVE CONF), Not Refreshed (INIT) --------------------------------- ---------------------------------------------------------------- NEIGH: IP: PRIO: POLL: COST: ---------------------------------------------------------------- 001.001.001.001 NONE 255 1 0 001.001.002.001 1 0 10 0 002.001.002.000 2 0 10 255 003.001.002.000 3 10 10 255 ----------------------------------------------------------------
This command deletes an entry from the OSPF Neighbours table, identified by the specified IP address.
[16:44:28] ABILIS_CPX:c ospf neigh:3.1.2.0
COMMAND EXECUTED [16:45:42] ABILIS_CPX:d ospf neigh
- Not Saved (SAVE CONF), Not Refreshed (INIT) --------------------------------- ---------------------------------------------------------------- NEIGH: IP: PRIO: POLL: COST: ---------------------------------------------------------------- 001.001.001.001 NONE 255 1 0 001.001.002.001 1 0 10 0 002.001.002.000 2 0 10 255 ----------------------------------------------------------------
This command sets to new values the parameters of the OSPF Neighbour, identified by the specified IP address.
[16:45:44] ABILIS_CPX:s ospf neigh:2.1.2.0 prio:10
COMMAND EXECUTED [16:47:53] ABILIS_CPX:d ospf neigh
- Not Saved (SAVE CONF), Not Refreshed (INIT) --------------------------------- ---------------------------------------------------------------- NEIGH: IP: PRIO: POLL: COST: ---------------------------------------------------------------- 001.001.001.001 NONE 255 1 0 001.001.002.001 1 0 10 0 002.001.002.000 2 10 10 255 ----------------------------------------------------------------