Configuring a default action

Specifying a default action is optional. The default action controls those packets not matching any policy statement entries. If no default action is specified for the policy, then the action associated with the protocol to which the routing policy was applied is performed. The default action is applied only to those routes that do not match any policy entries.

A policy statement must include at least one entry (see Configuring an entry).

To enter the mode to create or edit route policies, you must enter the begin keyword at the config>router>policy-options prompt. Other editing commands include:

Example

The following is a sample default action configuration output.

A:ALU-7210>config>router>policy-options# info
----------------------------------------------
            policy-statement "1"
                default-action accept
                    metric set 10
                exit
            exit
----------------------------------------------
A:ALU-7210>config>router>policy-options#