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:

Example: Changed configuration output

A:ALA-B>config>router>policy-options>policy-statement# info
----------------------------------------------
                description "Level 1"
                entry 1
                    to
                        neighbor 10.10.10.104
                    exit
                    action accept
                    exit
                exit
                entry 2
                    from
                        protocol ospf
                    exit
                    to
                        protocol ospf
                        neighbor 10.10.0.91
                    exit
                    action accept
                    exit
                exit
                entry 4
                    description "new entry"
                    from
                        protocol isis
                        area 0.0.0.20
                    exit
                    action reject
                exit
                default-action accept
                    metric set 10
                exit
----------------------------------------------
A:ALA-B>config>router>policy-options# info
----------------------------------------------
            prefix-list "host"
                prefix 10.0.0.0/8 longer
            exit
            prefix-list "group1"
                prefix 239.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
----------------------------------------------
A:ALA-B>config>router>policy-options#