Routing policy and firewall filters control the flow of network traffic by allowing or denying routes and packets. Routing policy applies to routing information and controls the import and export of routes between routing protocols and the routing table. Firewall filters apply to packets and control the flow of traffic entering or leaving a network device on a per-packet basis. Both routing policy and firewall filters consist of terms that match criteria and specify actions, with policies evaluated sequentially until a terminating action is reached.