Distribute-lists and named extended ACLs

When a distribute list references an extended ACL, in some versions of Cisco, you may receive the following error message:

% The ACL cannot be created or an ACL with the same name but incompatible type already exists.

For example, take the following set of configurations that attempts to filter BGP advertisements using extended access-list filtering:

R1(config)#ip access-list extended ACL-LIMIT-R2-NETWORKS R1(config-ext-nacl)#permit ip 172.16.0.0 0.0.255.255 255.255.255.0 0.0.0.0 R1(config-ext-nacl)#router bgp 1 R1(config-router)#distribute-list ACL-LIMIT-R2-NETWORKS IN % The ACL cannot be created or an ACL with the same name but incompatible type already exists. R1(config-router)#

However, when using a numbered extended access list, the command is accepted without a problem.

Links:

https://community.cisco.com/t5/routing/eigrp-distribute-list-and-extended-access-lists/td-p/3902374

https://forum.networklessons.com/t/bgp-extended-access-list-filtering/1294/47?u=lagapides

https://networklessons.com/bgp/bgp-extended-access-list-filtering