Define a Group with Dynamic Peers
To define a BGP group in which the local system's peers are dynamic and change over time, include the
allowstatement. To recognize all BGP systems as peers, include theallow allstatement. To recognize BGP systems within specified address ranges, specify a set of addresses in theallownetwork/mask-lengthstatement. These addresses can be IPv6 or IPv4 addresses.[edit protocols bgp]groupgroup-name{peer-asautonomous-system;typetype;(allow [network/mask-length...] | allow all);}For a list of hierarchy levels at which you can configure these statements, see the statement summary sections for these statements.