Advertise Aggregate Routes
After you have configured aggregate routes, you can have a protocol advertise the routes by configuring a policy that is then exported by a routing protocol.
To configure a protocol to advertise routes, include the
policy-statementstatement at the[edit policy-options]hierarchy level:[edit]policy-options {policy-statement advertise-aggregate-routes {term first-term {from protocol aggregate;then accept;}term second-term {then next policy;}}}protocols {bgp {export advertise-aggregate-routes;...}}