DGS-6604
m
neighbor
CLI Reference Guide
442
neighbor
Use the
neighbor
command to define a neighboring router with which to
exchange routing information. Use the no form to remove an entry.
neighbor
IP-ADDRESS
no neighbor
IP-ADDRESS
Default
Not configured
Command Mode
Router configuration
Usage Guideline
This command allows point-to-point (non-broadcast) exchange of routing
information. Additional neighbors or peers can be specified using multiple
neighbor
commands.
When used in combination with the
passive-interface
router configuration
command, routing information can be exchanged between a subset of routers
and access servers on a LAN.
Example
In the following example, RIP updates are sent to all interfaces except vlan1 on
network 10.0.0.0/8. However, in this case a neighbor router configuration
command is included. This command permits routing updates to be sent to
specific neighbors. One copy of the routing update is generated per neighbor:
Verify the settings by entering the
show ip protocols rip
command
Syntax Description
IP-ADDRESS
IP address of a peer router with which routing information will be exchanged.
Switch# configure terminal
Switch(config)# router rip
Switch(config-router)# network 10.0.0.0/8
Switch(config-router)# passive-interface vlan1
Switch(config-router)# neighbor 10.50.71.50