The finish command completes route filtering and allows the routes that meet matching rules to match the route-filter.
By default, no action clause is set for the routes that meet matching rules.
<HUAWEI> system [~HUAWEI] xpl route-filter r1 [~HUAWEI-xpl-filter] if local-preference GE 100 then [~HUAWEI-xpl-filter-if] finish [~HUAWEI-xpl-filter-if] endif [~HUAWEI-xpl-filter] if local-preference le 50 then [~HUAWEI-xpl-filter-if] apply community none [~HUAWEI-xpl-filter-if] endif [~HUAWEI-xpl-filter] end-filter