To define and apply a routing policy chain, you must include at least the following statements at the
[edit policy-options]and[edit protocols]hierarchy levels. At the[edit protocols]hierarchy level, you can define a chain of policy names that are evaluated in order.[edit]policy-options {policy-statementpolicy-name{termterm-name{from {family family-name;match-conditions;prefix-listname;route-filterdestination-prefix match-type<actions>;source-address-filterdestination-prefix match-type<actions>;}to {match-conditions;}thenactions;}}policy-statementpolicy-name{termterm-name{from {family family-name;match-conditions;prefix-listname;route-filterdestination-prefix match-type<actions>;source-address-filterdestination-prefix match-type<actions>;}to {match-conditions;}thenactions;}}prefix-listname{ip-addresses;}}protocols {protocol-name{import [policy-names];export [policy-names];}}