cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1491
Views
5
Helpful
8
Replies

NX-OS command to determine whether an ACL is applied on an intf or not

pavtel
Level 1
Level 1

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!

8 Replies 8

marce1000
Hall of Fame
Hall of Fame

 

 - Try :        show run aclmgr

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Thanks, I know this command, bu I looking for no `sh run ***`

show system internal access-list interface ex/x


@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



I will make double check 

show access-list summary 
Screenshot (462).png

pavtel
Level 1
Level 1

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!

 

you are so welcome 
I will try find other command 
thanks 
MHM