howtonetwork.net

Cisco Certification Training

  • Products
  • CCNA
    • CCNA Videos
    • CCNA Lectures
    • CCNA Practice Exams
    • Challenge Labs
      • Challenge Video Solutions
    • Cisco Commands
  • CCNP ROUTE
    • ROUTE Exams
  • CCNP SWITCH
    • SWITCH Exams
  • CCNP TSHOOT
  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training
You are here: Home / Neighbor

Neighbor

Command

Neighbor

Use

This command tells RIP to communicate with unicast updates to a specific neighbor. This is usually used with the passive-interface default command to prevent all other RIP communication.

Syntax

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

Example

In this example, we will configure R4 to send its updates to R3 using unicast

Looking at the debug output for RIP we see that updates are currently being sent to RIP’s multicast address 224.0.0.9

R4(config-router)#do debug ip rip
RIP protocol debugging is on
R4(config-router)#
*Mar 1 00:15:05.811: RIP: sending v2 update to 224.0.0.9 via Serial0/0 (10.4.4.4)
*Mar 1 00:15:05.815: RIP: build update entries
*Mar 1 00:15:05.815: 1.1.1.1/32 via 10.4.4.1, metric 2, tag 0
*Mar 1 00:15:05.819: 1.2.2.2/32 via 10.4.4.1, metric 2, tag 0
*Mar 1 00:15:05.819: 1.3.3.3/32 via 10.4.4.1, metric 2, tag 0
*Mar 1 00:15:05.823: 10.1.1.0/24 via 10.4.4.1, metric 2, tag 0
*Mar 1 00:15:05.823: 10.4.4.0/24 via 0.0.0.0, metric 1, tag 0
*Mar 1 00:15:05.823: 11.11.11.11/32 via 10.4.4.1, metric 2, tag 0
*Mar 1 00:15:05.823: 111.111.111.111/32 via 10.4.4.1, metric 2, tag 0

Next we configure passive-interface default to block all RIP updates and configure R4 to sent updates via unicast.

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

Notice that updates are now being sent directly to R3.

R4(config-router)#do debug ip rip
RIP protocol debugging is on

*Mar 1 00:11:49.371: RIP: sending v2 update to 10.4.4.3 via Serial0/0 (10.4.4.4)
*Mar 1 00:11:49.375: RIP: build update entries
*Mar 1 00:11:49.375: 1.1.1.1/32 via 10.4.4.1, metric 2, tag 0
*Mar 1 00:11:49.379: 1.2.2.2/32 via 10.4.4.1, metric 2, tag 0
*Mar 1 00:11:49.379: 1.3.3.3/32 via 10.4.4.1, metric 2, tag 0
*Mar 1 00:11:49.383: 10.1.1.0/24 via 10.4.4.1, metric 2, tag 0
*Mar 1 00:11:49.383: 10.4.4.0/24 via 0.0.0.0, metric 1, tag 0
*Mar 1 00:11:49.383: 11.11.11.11/32 via 10.4.4.1, metric 2, tag 0
*Mar 1 00:11:49.383: 111.111.111.111/32 via 10.4.4.1, metric 2, tag 0
*Mar 1 00:11:49.383: RIP: sending v2 update to 10.4.4.1 via Serial0/0 (10.4.4.4)

Get access to over 5 hours of IT webinar videos as well as regular study tips and ideas when you
join our mailing list

About This Site

We replaced this site some time ago with an upgraded version. Please feel free to enjoy the content and if you like what you see check out our brilliant new site:

howtonetwork.com

Keep In Touch

About Us

This is a free access website which has now been replaced by howtonetwork.com.

Navigation

  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training

Copyright

All content is protected by international copyright laws. Copyright Reality Press Ltd.

Copyright © 2023 · Dynamik Website Builder on Genesis Framework · WordPress · Log in