The default action specifies how packets are to be processed when a policy related to the route is not explicitly configured. The default actions are applied in the following cases:
If a route policy does not specify a matching condition, all the routes being compared with the route policy are considered to be matches.
If a packet does not match any policy entries, then the next policy is evaluated. If a match does not occur then the last entry in the last policy is evaluated.
If no default action is specified, the default behavior of the protocol controls whether the routes match or not.
If a default action is defined for one or more of the configured route policies, then the default action is handled as follows:
The default action can be set to all available action states including accept, reject, next-entry, and next-policy.
If the action states accept or reject, then the policy evaluation terminates and the appropriate result is returned.
If a default action is defined and no matches occurred with the entries in the policy, then the default action is used.
If a default action is defined and one or more matches occurred with the entries of the policy, then the default action is not used.