.. _example_protocols_bgp_peer-group_maximum-prefix: ############## Maximum-Prefix ############## Scenario to verify BGP **peer-group maximum-prefix** inheritance. When ``maximum-prefix`` is configured on a peer-group, the session closes if the number of prefixes received exceeds the configured limit. ********************************************************************** Test iBGP - Peer-group maximum-prefix closes session on limit exceeded ********************************************************************** Description =========== Test that ``maximum-prefix`` configured on a peer-group closes the session when the prefix limit is exceeded. DUT1 initially advertises 2 prefixes (within limit), then a third is added to exceed the limit, causing the session to enter Idle (PfxCt). Scenario ======== .. include:: maximum-prefix/testibgp-peer-groupmaximum-prefixclosessessiononlimitexceeded .. raw:: html