OcNOS-RON : Layer 3 Guide : Open Shortest Path First Command Reference : OSPFv2 Commands : neighbor
neighbor
Use this command to configure OSPF routers interconnecting to NBMA (Non-Broadcast Multi-Access) networks. Include one neighbor entry for each known non-broadcast network neighbor. Configure the neighbor address on the primary address of the interface.
Use the no parameter with this command to remove a configuration.
Command Syntax
neighbor A.B.C.D {cost <1-65535> | priority <0-255>| poll-interval <1-2147483647>}
no neighbor A.B.C.D { cost | priority | poll-interval}
no neighbor A.B.C.D
Parameters
A.B.C.D
Specify the interface IP address of the neighbor.
priority
Specify the router priority of the non-broadcast neighbor associated with the specified IP address.This parameter does not apply to point-to-multipoint interfaces.
<0-255>
Specify the router priority value of the non-broadcast neighbor associated with the specified IP address.
poll-interval
The reduced rate at which routers continue to send hello packets when a neighboring router has become inactive.
<1-2147483647>
 
Dead neighbor polling interval in seconds. Set this value much larger than hello interval.
Default
The default priority is 0 and polling interval is 120 seconds.
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
This example shows neighbor configured with a priority value and poll interval time.
#configure terminal
(config)#router ospf 100
(config-router)#neighbor 1.2.3.4 priority 1 poll-interval 90
Last modified date: 08/28/2023