Timeline for Cisco command to show which interfaces an ACL is applied to
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:57 | history | edited | CommunityBot |
replaced http://networkengineering.stackexchange.com/ with https://networkengineering.stackexchange.com/
|
|
Jul 29, 2013 at 16:16 | vote | accept | Adam Loveless | ||
Jul 28, 2013 at 18:43 | comment | added | Brett Lykins | @Santino, that makes sense! Thanks for the explanation. After going back to Stretch's page I saw the explanation there too... ::Reading fail:: on my part :) | |
Jul 28, 2013 at 18:21 | comment | added | Santino | Stretch's regex will filter out access list lines that are not set. The end of his regex matches a single word, which would match an ACL since they cannot have spaces. Good find. | |
Jul 28, 2013 at 18:09 | history | edited | Brett Lykins | CC BY-SA 3.0 |
Adding Shorter regex
|
Jul 28, 2013 at 18:04 | comment | added | Brett Lykins |
@Santino, True! I will edit my answer accordingly. Also, in doing further research, I also see that Jeremy Stretch over at PacketLife has already been down this road with another shorter RegEx (but not as short as yours): show ip interface | include line protocol|access list is [^ ]+$ I'm not sure if there's a reason we need the extra RegEx matching after "access list".
|
|
Jul 28, 2013 at 17:59 | comment | added | Santino |
You could probably shorten that to show ip interface | include line protocol|access list For NX-OS, show ip access-list summary
|
|
Jul 28, 2013 at 17:44 | history | answered | Brett Lykins | CC BY-SA 3.0 |