03-26-2023 11:52 PM
Hello Team,
For my py-script I am looking for simple NX-OS show ??? command to check is ACL applied on an interface or not on my N9K.
Yep, I know `show runn int XXX`, but I am looking for this IOS analog:
#show ip interface | i access list
Outgoing access list is not set
Inbound access list is not set
Outgoing access list is not set
Inbound access list is not set
Thanks in advance!
03-27-2023 12:04 AM
- Try : show run aclmgr
M.
03-27-2023 02:28 AM
Thanks, I know this command, bu I looking for no `sh run ***`
03-27-2023 03:38 AM
show system internal access-list interface ex/x
03-27-2023 03:57 AM
@MHM Cisco World wrote:show system internal access-list interface ex/x
The problem is that we use L3 Vlan interfaces and ACL on them
# show system internal access-list interface ?
ethernet Ethernet IEEE 802.3z
port-channel Port Channel interface
03-27-2023 03:59 AM
I will make double check
03-27-2023 08:47 AM
show access-list summary
03-28-2023 01:50 AM
Hi @MHM Cisco World thanks for this command + GNS3 testing.
I am looking command for FOR-LOOP in my python script
Imagine that I grab some LIST with IP interfaces (from sh ip int brie + TextFSM), most of them Vlan****.
Than I try to find some show command (not sh run int vlan****,. etc) in the loop that show me ALC name or absence of the ACL on that interface..
Yep, show access-list summary can solve this task, but in the opposite direction: list of ALCs->interfaces (I am looking for interfaces->ALC|no-ACL.
Thanks!
03-30-2023 04:00 AM
you are so welcome
I will try find other command
thanks
MHM
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