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 at the[edit protocols bgp groupgroup-name]hierarchy level (for routing instances, include the statements at the[edit routing-instancesrouting-instance-nameprotocols bgp groupgroup-name]hierarchy level). 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);}