Both will get right routes into OSPF database, but in case of redistribution you routes will be external Type-2 (unless you also specify 'metric-type 1' in redistribute command), which may or may not be important (depending on your topology). Unless there's specific reason of using redistribution, I'd prefer using 'network' command to choose which directly connected networks should be advertised.
Ok, but you do have 'network' statement covering other interfaces, don't you? Yes, redistribute command doesn't care whether interface is passive or not so route-map is essential tool to control what routes should be redistributed (whether they're connected, static or learned from some other routing protocol).
I'd suggest you to remove 'redistribute connected' command at all, and use 'network' command possible in combination with passive-interface for some interfaces in order to get your connected networks into OSPF.
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.