Route-filters are used to filter routes based on sets or a single element and modify route attributes of the routes that meet matching rules. To deny routes that meet matching rules of a route-filter, run the refuse command.
Example
# Configure a route-filter named r1 to deny the routes with Local_Pref 100.
<HUAWEI> system
[~HUAWEI] xpl route-filter r1
[~HUAWEI-xpl-filter] if local-preference GE 100 then
[~HUAWEI-xpl-filter-if] refuse
[~HUAWEI-xpl-filter-if] endif
[~HUAWEI-xpl-filter] end-filter