Saya tidak percaya bahwa ada sesuatu yang lebih sederhana daripada show interfaces | <some regex>
sayangnya.
Edit:
Dari komentar di bawah, @ Santino menunjukkan RegEx yang lebih ringkas:
show ip interface | include line protocol|access list
Pengujian saya sejauh ini menunjukkan bahwa ini memberikan hasil yang sama dengan RegEx saya yang lebih lama di bawah ini.
Saya biasanya menggunakan yang berikut ini untuk menemukan di mana ACL diterapkan:
show ip interface | include is up|is administratively|is down|Outgoing|Inbound
Ini memberi Anda setiap antarmuka, apa pun keadaannya, lalu apa ACL Outbound dan Inbound. Sebagai contoh:
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
Dan seterusnya untuk setiap antarmuka.
Perintah ini berfungsi pada switch dan router Cisco. Lihat contoh output dari 7200 Router di bawah ini:
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
Untuk NX-OS,show ip access-list summary