The Junos OS verifies the match criteria of each policy in order and performs the associated action when a match occurs.
Policies are evaluated from right to left as displayed in the Junos OS configuration file.
Polices are evaluated based on the order in which they are applied to a routing protocol.
Policy processing stops once the last statement in the policy is evaluated.