Name
neighbor — router
Synopsis
RIP/IGRP/EIGRP:
neighboraddressno neighboraddress
OSPF:
neighboraddress[priorityvalue] [poll-intervalseconds] no neighboraddress[priorityvalue] [poll-intervalseconds]
Configures
A routing neighbor
Default
No neighbors defined
Description
The behavior and syntax of this command depend on the routing protocol you are using.
For RIP, this command specifies a RIP neighbor. This is useful when
you have routers that cannot receive RIP broadcasts. In this
situation, use the neighbor command to specify the
IP addresses of routers that should receive RIP packets directly. If
you use this command, RIP packets are not broadcast; they are sent
only to the specified neighbors. The neighbor
command is frequently used with the
passive-interface command, which specifies that
the interface should only listen for routing updates.
For IGRP, the command specifies an IGRP neighbor for the router to
communicate with. It is often used with the
passive-interface command. As with RIP, you can
use the neighbor command together with
passive-interface to send updates to one or more
routers without sending updates to other routers on the network.
Multiple neighbor commands are allowed.
For EIGRP, the neighbor command is accepted by the
parser but has no effect on the EIGRP process. It is accepted for
backward compatibility with IGRP configurations.
For OSPF, you use the command to define a router’s OSPF neighbors explicitly. The OSPF version of this command has the following parameters: ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access