Route-map - multiple statements with sequence numbers

When configuring a Route-map, it is possible to have multiple statements defined using the sequence numbers to identify them. For example, let's say you have the following route map:

R1(config)#route-map PBR_R1 permit 10 R1(config-route-map)#match ip address ICMP_R1 R1(config-route-map)#set ip next-hop 192.168.13.3

Let’s say you want to add a second statement that matches access list ICMP_R1a and you want to set the ip next-hop address to 192.168.12.2. You would add this second statement like so:

R1(config)#route-map PBR_R1 permit 20 R1(config-route-map)#match ip address ICMP_R1a R1(config-route-map)#set ip next-hop 192.168.12.2

The result would be a single route map with multiple statements that are checked in sequence. If you took a look at the running config, you would see this route map shown as follows:

R1# show running-config Building configuration... Current configuration: 1325 bytes ! !<-- output omitted - - > ! route-map PBR_R1 permit 10 match ip address ICMP_R1 set ip next-hop 192.168.13.3 ! route-map PBR_R1 permit 20 match ip address ICMP_R1a set ip next-hop 192.168.12.2 !

Each sequence appears as a separate entity in the configuration file, but all of it belongs to the same route map.

Links:

https://forum.networklessons.com/t/how-to-configure-policy-based-routing/945/89?u=lagapides

https://networklessons.com/cisco/ccnp-route/introduction-to-route-maps