09-29-2006 07:26 PM - edited 03-03-2019 02:10 PM
Dear all ,
I wonder what would an empty access list on a cisco router behave like , I know if there is any statement in it and all other is implicit deny , but what if we dont write anything in it ..
Eg :
(Conf)# ip access-list {extended|standard} "name"
---- Go to interface s0/0 ----
ip access-group "name" out
Notice there is no statement inside the named access list , Will implicitly deny rule apply to this case or not ..
appreciate you reply
Prs
09-29-2006 07:45 PM
If you create an access list and apply it (with an access-group), the implicit deny is active.
Simply creating an access-list has no effect. Once you apply it, it's active, empty or not.
Good Luck
Scott
09-29-2006 09:30 PM
Hi,
An interface with an empty access list applied to it permits all traffic.
HTH,
Thanks
Raj
11-02-2022 08:58 AM
Hi, what happen if you applied a not created access-list to an interface? Does it Allow all the traffic?
11-02-2022 09:29 AM
The behavior for access-class when the specified access list is empty (or does not exist) has changed over time. In some (quite early) versions of IOS the default behavior was followed and all traffic was denied. In most versions of IOS (in its various flavors) has been that an empty (or non existent) access list results in all traffic being permitted.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide