ACLs Filtering Locally Generated Traffic

Access-List (ACL)s typically filter inbound or outbound traffic. They do not filter any traffic that is generated by the local router.

If you want to filter traffic that is generated by the router, it's best to use Control Plane Policing (CoPP) (CoPP).