I believe that you will have problems using a match against an access list such as you have suggested. I suggest that instead you match against the next hop address (which uses a standard access list which will explicitly look for the next hop address). The config would be something like this:
How many static routes are they? If they are not many try use an ACL that only permits the list of static routes you want to distribute. However, it they are many you can use the route map matching against ACL and NEXT HOP.
The significant difference between what you posted and what I suggested is that you were doing a match on ip address - which uses an access list and does indeed match on source and destination addresses not on the next hop address. What I suggested is something that will check for the next hop address - it also uses access lists but note that it uses standard access list not extended access list. And it will check for the next hop.
Please do test it. I think you will find that it does what you need. If not please post to the forum with the details of what you tested.
I believe that the match next-hop was developed especially for use with route maps in policy based routing where it could redirect traffic based on the next hop the packet would take. I believe that it can also function in redistribution.
If it does not work then I have an alternative suggestion. There is an option in configuring static routes to set a tag value with the static route. If you configure your static routes (especially the ones that you do not want to redistribute) with a tag value then you can write a route map to use with redistribution that will match the tag value and will deny those static routes with particular tag values.
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...
Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
2. PDF with instructions on how to load and use the .tcl file.