Implementing OSPF on Cisco IOS XR Software
How to Implement OSPF on Cisco IOS XR Software
RC-153
Cisco IOS XR Routing Configuration Guide
Step 9
neighbor
ip-address
[priority
number
]
[poll-interval
seconds
][cost
number
]
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-if)#
neighbor 10.20.20.1 priority 3 poll-interval 15
or
RP/0/RP0/CPU0:router(config-ospf-ar-if)#
neighbor fe80::3203:a0ff:fe9d:f3fe
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 must be in the form that is
specified in RFC 2373. 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 0. 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 because filtering might cause the
routing topology to be seen as entirely different
between two neighbors, resulting in black-holing of
data traffic or routing loops.
Step 10
Repeat Step 9 for all neighbors on the interface. —
Step 11
exit
Example:
RP/0/RP0/CPU0:router(config-ospf-ar-if)# exit
Enters area configuration mode.
Step 12
interface
type instance
Example:
RP/0/RP0/CPU0:router(config-ospf-ar)# interface
POS 0/3/0/1
Enters interface configuration mode and associates one or
more interfaces for the area configured in Step 4.
• In this example, the interface inherits the nonbroadcast
network type and the hello and dead intervals from the
areas because the values are not set at the interface
level.
Command or Action Purpose