Distribute-lists - using route maps to set attributes

When using a distribute-list that references a route map in order to to filter routes sent between routers using dynamic routing protocols such as OSPF, only route filtering can be achieved.

Filtered routes can be matched using interface, IP address, IP next hop, IP route-source, metric, route-type, and tag. Set commands will be ignored, such as set vrf for example. Even though they may be matched on the route-map, they will not be applied using a distribute-list.

https://networklessons.com/eigrp/how-to-filter-prefixes-with-distribute-list

https://forum.networklessons.com/t/introduction-to-route-maps/5258/57?u=lagapides

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_ospf/configuration/xe-16/iro-xe-16-book/iro-inbound.html#GUID-AAF5FD5A-70ED-45ED-90C3-45535800F43E