For Cisco routers and switches, is there a show command, or something similar, that will display what physical and logical interfaces an ACL is implemented on and what direction it is applied in?
I am looking for something simpler than a show run | <some regex>
.
Best Answer
I don't believe that there is anything simpler than
show interfaces | <some regex>
unfortunately.Edit:
From the comments below, @Santino pointed out a more concise RegEx:
My testing so far indicates that this gives the same results as my longer RegEx below.
I usually use the following to find where ACLs are applied:
This gives you every interface, no matter the state, then what the Outbound and Inbound ACL's are. For example:
And so on for every interface.
This command works on both Cisco switches and routers. See sample output from a 7200 Router below: