.. _example_protocols_bgp_neighbor_maximum-prefix: ############## Maximum-Prefix ############## This scenario demonstrates how to configure the maximum-prefix limit for a BGP neighbor. When the number of prefixes received from a neighbor exceeds the configured limit, the BGP session is automatically closed to protect the routing table. *********************************** Test iBGP - Maximum prefix exceeded *********************************** Description =========== Test to verify that BGP session closes when maximum-prefix limit is exceeded. DUT0 is configured with maximum-prefix 2. DUT1 initially advertises 2 prefixes (within limit), then a third is added to exceed the limit. Scenario ======== .. include:: maximum-prefix/testibgp-maximumprefixexceeded .. raw:: html