Hi,
R4(config)#access-list 100 permit ip any any
R4(config)#access-list 101 permit ip any any
R4(config)#route-map test p 10
R4(config-route-map)#match ip add 100
R4(config-route-map)#set ip next
R4(config-route-map)#set ip next-hop 20.20.20.20
R4(config-route-map)#do sh route-map
route-map test, permit, sequence 10
Match clauses:
ip address (access-lists): 100
Set clauses:
ip next-hop 20.20.20.20
Policy routing matches: 0 packets, 0 bytes
R4(config-route-map)#match ip add 101
R4(config-route-map)#set ip nex
R4(config-route-map)#set ip next-hop 22.22.22.22
R4(config-route-map)#do sh route-map
route-map test, permit, sequence 10
Match clauses:
ip address (access-lists): 100 101
Set clauses:
ip next-hop 20.20.20.20 22.22.22.22
Policy routing matches: 0 packets, 0 bytes
As you see in this example multiple same match or set statement are automatically rearranged in a OR fashion instead of a AND fashion.
So I presume you already had a 20 clause in your route-map and so you edited it in the way I showed above.
Regards
Alain
Don't forget to rate helpful posts.
Don't forget to rate helpful posts.