Neighbor Command on CISCO Router/Switch




This command tells EIGRP to communicate with unicast updates to a specific neighbor.


Router(config-router)#neighbor <ip address> <interface>


In this example, we will configure R4 to send its updates to R3 using unicast. Looking at the debug output for ip packets, we see that updates are currently being sent to EIGRP’s multicast address

R4(config-router)#do debug ip packet
IP packet debugging is on

*Mar 1 00:33:43.071: IP: s= (local), d= (Serial0/0), len 60, sending broad/multicast
*Mar 1 00:33:43.079: IP: s= (local), d= (Loopback55), len 60, sending broad/multicast
*Mar 1 00:33:43.087: IP: s= (Loopback55), d=, len 60, rcvd 2

We then configure R4, R1, and R3 to sent updates via unicast.

R4(config)#router rip
R4(config-router)#passive-interface default

Notice that updates are now being sent directly to R1 and R3.

*Mar 1 00:31:49.283: IP: s= (Serial0/0), d= (Serial0/0), len 40, rcvd 3
*Mar 1 00:31:49.343: IP: tableid=0, s= (Serial0/0), d= (Serial0/0), routed via RIB
*Mar 1 00:31:49.347: IP: s= (Serial0/0), d= (Serial0/0), len 69, rcvd 3
*Mar 1 00:31:49.363: IP: s= (local), d= (Serial0/0), len 40, sending

Related Articles

Leave a Reply