Hi @Martin Kallukalam,
The route map only supports summary routes. You can match on multiple specific routes and summarize them into a single route. The reason why the first route worked is because it was the first one evaluated. However, you cannot create multiple summary routes within a single route map rule.
Route maps allow you to perform route aggregation, route filtering, and modify BGP attributes such as AS-PATH and Community, enabling fine-grained control over route selection and propagation. Route maps can be configured on the following resources and settings.
If a route map has multiple modifications configured in a rule, all configured actions are applied on the route. So, the last modification shows up in the dashboard as the route keeps replacing the prefixes till the last one and if you create 2 route map rules with the Replace action without any condition and keep processing the rules without terminating them, then it will modify till the end and the last modification will show up in the dashboard.
I also tested the same in my lab and got the same expected result, so this is the expected behavior.
Output:
Refer: Why use Route-maps?
I hope this is helpful! Do not hesitate to let me know if you have any other questions.
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.