This command defines a neighboring router with which this router will
neighbor
exchange routing information. Use the no form to remove an entry.
S
YNTAX
[no] neighbor ip-address
ip-address - IP address of a neighboring router.
D
S
EFAULT
ETTING
No neighbors are defined.
C
M
OMMAND
Router Configuration
C
U
OMMAND
This command can be used to configure a static neighbor (specifically
◆
for point-to-point links) with which this router will exchange routing
information, rather than relying on broadcast or multicast messages
generated by the RIP protocol.
Use this command in conjunction with the
◆
to control the routing updates sent to specific neighbors.
E
XAMPLE
Console(config-router)#neighbor 10.2.0.254
Console(config-router)#
R
C
ELATED
OMMANDS
passive-interface (1030)
This command specifies the network interfaces that will be included in the
network
RIP routing process. Use the no form to remove an entry.
S
YNTAX
[no] network {ip-address netmask | vlan vlan-id}
ip-address – IP address of a network directly connected to this
router.
netmask - Network mask for the route. This mask identifies the
network address bits used for the associated routing entries.
vlan-id - VLAN ID. (Range: 1-4093)
D
S
EFAULT
ETTING
No networks are specified.
C
M
OMMAND
Router Configuration
ODE
SAGE
ODE
– 1029 –
| IP Routing Commands
C
45
HAPTER
Routing Information Protocol (RIP)
passive-interface
command