Route-map statements order change
Hi all,
couldn't find any information about the change of the order of the rules inside a route-map.
I know that for firewall rules or sdwan rules, you have unique identifiers forevery logic, and you can move them up or down through the GUI or via CLI ('move x before|after y'). But can I do something similar with route-maps ?
For example suppose I have the following:
config router route-map
edit "RM_EXAMPLE"
config rule
edit 10
set match-community "CL_32:3"
next
edit 100
next
edit 5
set action deny
set match-ip-address "PL_DENY_PREFIX"
next
end
next
Something not nice: in this case the identifier of the rule is important, and is related to the order the rules are executed. So even though '5' appears after '100', it is processed first. Suppose now I have rules '1' and '2', and I want to insert something in between. Is there any simple way to do it ? in Cisco there is a 'resequence' command that takes the list of rules, for example 1,2,3,4,5,6,7,8 and changes them to 10,20,30,40,50,60,70,80 so that you can now insert things in the middle of the rules.
