I answered too fast and too lightly, I assumed something in your question
Policies:
- There can be zero or one match type. If no match type is specified, the match type is all, so all match conditions must be satisfied
- There can be zero or more match conditions. If no match is specified, then every routing entity matches.
- There can be zero or more actions. If no action is specified, the packet is permitted by default.
Default action
Keep in mind the behavior of ExtremeXOS. If you don’t apply a routing policy, the default action is permit. In the same manner, if no action in a policy rule that matches is defined, the default action is also permit. However in a routing policy, the default action for anything that doesn’t match any entries is deny.
Policy entries are evaluated in order, from the beginning of the file to the end, as follows:
- If a match occurs, the action in the then statement is taken.
o If the action contains an explicit permit or deny, the evaluation process terminates.
o If the action doesn’t contain an explicit permit or deny, the action is an implicit permit, and the evaluation process terminates.
- If a match doesn’t occur, the next policy entry is evaluated.
- If no match has occurred after evaluating all policy entries, the default action is deny.