Configuring an entry

An entry action must be specified. The other parameters in the entry>action context are optional. See Route policy command reference for the commands and syntax.

Example: Entry configuration output

The following is a sample of entry parameters and includes the default action parameters which were displayed in Configuring a default action.

A:ALA-B>config>router>policy-options# info
----------------------------------------------
            prefix-list "host"
                prefix 10.0.0.0/8 longer
            exit
            prefix-list "group"
                prefix 10.6.6.6/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 "group"
                    exit
                    action reject
                exit
                default-action accept 
                exit
            exit
----------------------------------------------
A:ALA-B>config>router>policy-options#
A:ALA-B>config>router>policy-options# info
----------------------------------------------
            prefix-list "host"
                prefix 10.0.0.0/8 longer
            exit
            prefix-list "group"
                prefix 10.6.6.6/32 exact
            exit
----------------------------------------------
A:ALA-B>config>router>policy-options#