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:
the commit command saves changes made to route policies during a session
the abort command discards changes that have been made to route policies during a session
The following example displays the default action configuration:
A:ALA-B>config>router>policy-options# info
----------------------------------------------
policy-statement "1"
default-action accept
as-path add "test"
community add "365"
damping "flaptest"
next-hop 10.10.10.104
exit
exit
----------------------------------------------
A:ALA-B>config>router>policy-options#