prefixe-list command
Sometimes you need to filter based on the subnet mask length. With regular ACL you can only match the IP portion of routing updates (at my known).
Using prefix-list command allow you match the mask length, have a look on the below example :
#ip prefix-list LIST1 seq 10 permit 10.20.0.0/16 le 32
this will match only 10.20.0.0/16 to 10.20.0.0/32
You can use your prefixe-list with route-map :
#route-map TOTO permit 20
#match ip address prefix-list LIST1




