Ich glaube nicht, dass es etwas Einfacheres gibt als show interfaces | <some regex>
leider.
Bearbeiten:
In den Kommentaren unten wies @ Santino auf eine präzisere RegEx hin:
show ip interface | include line protocol|access list
Meine bisherigen Tests haben ergeben, dass dies die gleichen Ergebnisse liefert wie meine längere RegEx unten.
Normalerweise benutze ich Folgendes, um herauszufinden, wo ACLs angewendet werden:
show ip interface | include is up|is administratively|is down|Outgoing|Inbound
Dies gibt Ihnen jede Schnittstelle, unabhängig vom Status, sowie die ausgehenden und eingehenden ACLs. Beispielsweise:
LAB-4510-A#show ip interface | include is up|is administratively|is down|Outgoing|Inbound
Vlan1 is administratively down, line protocol is down
Vlan110 is up, line protocol is up
Outgoing access list is not set
Inbound access list is VENDOR->INTERNET
Vlan140 is administratively down, line protocol is down
Outgoing access list is not set
Inbound access list is not set
Vlan150 is down, line protocol is down
Outgoing access list is not set
Inbound access list is VENDOR->INTERNET
Vlan210 is up, line protocol is up
Outgoing access list is not set
Inbound access list is not set
FastEthernet1 is administratively down, line protocol is down
Outgoing access list is not set
Inbound access list is not set
GigabitEthernet1/1 is up, line protocol is up
Outgoing access list is not set
Inbound access list is not set
GigabitEthernet1/2 is down, line protocol is down
Inbound access list is not set
Outgoing access list is not set
Und so weiter für jede Schnittstelle.
Dieser Befehl funktioniert sowohl auf Cisco-Switches als auch auf Routern. Siehe Beispielausgabe eines 7200-Routers unten:
LAB-7204-A#show ip interface | include is up|is administratively|is down|Outgoing|Inbound
GigabitEthernet0/1 is up, line protocol is up
Outgoing access list is not set
Inbound access list is not set
FastEthernet0/2 is administratively down, line protocol is down
GigabitEthernet0/2 is up, line protocol is up
Outgoing access list is not set
Inbound access list is not set
GigabitEthernet0/3 is administratively down, line protocol is down
SSLVPN-VIF0 is up, line protocol is up
Outgoing access list is not set
Inbound access list is not set
Loopback0 is up, line protocol is up
Outgoing access list is not set
Inbound access list is not set
Loopback1 is up, line protocol is up
Outgoing access list is not set
Inbound access list is not set
show ip interface | include line protocol|access list
For NX-OS,show ip access-list summary