BGP Filtering Maximum Prefix


The national hedgehog protection foundation needs your help with their network. They are using BGP for their International networking but the router they are using is a bit old and doesn’t take many prefixes in its BGP table. You want to ensure there is a maximum number of prefixes your router will accept.


  • All IP addresses have been preconfigured for you.
  • Configure EBGP between router Sonic and Tails.
  • Configure router Sonic so it will remove the BGP neighbor adjacency when it learns more than 8 prefixes.
  • Configure router Sonic so it gives a warning once it receives 6 prefixes.
  • After the BGP neighbor adjacency has been removed it should retry creating the BGP adjacency in 2 minutes.
  • Configure router Tails so it will generate a warning when it receives 4 prefixes but it should never remove the BGP neighbor adjacency.

It took me 1000s of hours reading books and doing labs, making mistakes over and over again until I mastered all the routing protocols for CCNP.

Would you like to be a master of routing too? In a short time without having to read 900 page books or google the answers to your questions and browsing through forums?

I collected all my knowledge and created a single ebook for you that has everything you need to know to become a master of routing.

You will learn all the secrets about BGP, filtering, prefixes and more.

Does this sound interesting to you? Take a look here and let me show you how to Master CCNP ROUTE




BGP Filtering Maximum Prefix

Video Solution:

Configuration Files

You need to register to download the GNS3 topology file. (Registration is free!)

Once you are logged in you will find the configuration files right here.

Opt In Image
Do you want your CCNA or CCNP Certificate?

The How to Master series helps you to understand complex topics like spanning-tree, VLANs, trunks, OSPF, EIGRP, BGP and more.

Written by René Molenaar - CCIE #41726

You May Also Like

About the Author: Rene Molenaar

René - CCIE #41726 is the creator of where he shares CCNA, CCNP and CCIE R&S labs. He also blogs about networking on


  1. Thanks Rene….I hope with your help I will make it and I can really thank you then…..

    I think this is the answer to this lab…Please review when you have the time:

    router bgp 1
    no synchronization
    bgp log-neighbor-changes
    neighbor remote-as 2
    neighbor maximum-prefix 8 restart 2
    no auto-summary


    router bgp 2
    no synchronization
    bgp log-neighbor-changes
    neighbor remote-as 1
    neighbor maximum-prefix 4
    no auto-summary

Comments are closed.