Route policy configuration management tasks
This section describes the route policy configuration management tasks.
Editing policy statements and parameters
Route policy statements can be edited to modify, add, or delete parameters. To enter the mode to edit route policies, you must enter the begin keyword at the config>router>policy-options prompt. Other editing commands include the following:
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.
Changed configuration output
A:ALA-B>config>router>policy-options# info
----------------------------------------------
            prefix-list "host"
                prefix 10.0.0.0/8 longer
            exit
            prefix-list "group1"
                prefix 10.6.6.8/32 exact
            exit
            policy-statement "block-igmp"
                description "Reject-Reports-From-Specific-Group-And-Host"
                entry 1
                    from
                        host-ip "host"
                    exit
                    action next-entry
                    exit
                exit
                entry 2
                    from
                        group-address "group1"
                    exit
                    action reject
                exit
                default-action accept 
                exit
            exit
Deleting an entry
Use the following syntax to delete a policy statement entry.
config>router>policy-options
    begin
    commit
    abort
    policy-statement name
    no entry entry-id
Command usage to delete a policy statement entry
config>router>policy-options# begin
policy-options# policy-statement "1"
policy-options>policy-statement# no entry 4
policy-options>policy-statement# commit
Deleting a policy statement
Use the following syntax to delete a policy statement.
config>router>policy-options
    begin
    commit
    abort
    no policy-statement name
Command usage to delete a policy statement
config>router>policy-options# begin
policy-options# no policy-statement 1
policy-options# commit