Specifications
Implementing OSPF on Cisco IOS XR Software
How to Implement OSPF on Cisco IOS XR Software
RC-251
Cisco IOS XR Routing Configuration Guide
Step 13
neighbor 
ip-address
 [priority 
number
] 
[poll-interval 
seconds
][cost 
number
] 
[database-filter [all]] 
or
neighbor 
ipv6-link-local-address
 [priority
number
] [poll-interval 
seconds
][cost
 number
] 
[database-filter [all]] 
Example:
RP/0/RP0/CPU0:router(config-ospf-ar)# neighbor 
10.34.16.6
or
RP/0/RP0/CPU0:router(config-ospf-ar)# neighbor 
fe80::3203:a0ff:fe9d:f3f
Configures the IPv4 address of OSPF neighbors 
interconnecting to nonbroadcast networks.
or
Configures the link-local IPv6 address of OSPFv3 
neighbors. 
• The ipv6-link-local-address argument must be in the 
form documented in RFC 2373 in which the address is 
specified in hexadecimal using 16-bit values between 
colons.
• The priority keyword notifies the router that this 
neighbor is eligible to become a DR or BDR. The 
priority value should match the actual priority setting 
on the neighbor router. The neighbor priority default 
value is zero. This keyword does not apply to 
point-to-multipoint interfaces. 
• The poll-interval keyword does not apply to 
point-to-multipoint interfaces. RFC 1247 recommends 
that this value be much larger than the hello interval. 
The default is 120 seconds (2 minutes).
• Neighbors with no specific cost configured assumes the 
cost of the interface, based on the cost command. On 
point-to-multipoint interfaces, cost number is the only 
keyword and argument combination that works. The 
cost keyword does not apply to NBMA networks.
• The database-filter keyword filters outgoing LSAs to 
an OSPF neighbor. If you specify the all keyword, 
incoming and outgoing LSAs are filtered. Use with 
extreme caution since filtering may cause the routing 
topology to be seen as entirely different between two 
neighbors, resulting in ‘black-holing’ or routing loops.
Command or Action Purpose










