<｜begin▁of▁sentence｜>
### Instruction:
How can BGP routes be filtered on IOS-XR?
### Response:
BGP routes can be filtered on IOS-XR by applying RPL policies using the route-policy command in the neighbor address family configuration. Policies can match on various attributes using defined sets and apply actions to filter or modify path attributes.
<|EOT|>
