C
OMMAND
L
INE
I
NTERFACE
4-328
neighbor
This command defines a neighboring router with which this router will
exchange routing information. Use the no form to remove an entry.
Syntax
[no] neighbor ip-address
ip-address - IP address to map to a specified hardware address.
Command Mode
Router Configuration
Default Setting
No neighbors are defined.
Command Usage
This command can be used to configure a static neighbor with which this
router will exchange information, rather than relying on broadcast
messages generated by the RIP protocol.
Example
version
This command specifies a RIP version used globally by the router. Use the
no form to restore the default value.
Syntax
version {1 | 2}
no version
• 1 - RIP Version 1
• 2 - RIP Version 2
Command Mode
Router Configuration
Console(config-router)#neighbor 10.2.0.254
Console(config-router)#