Command Line Interface

4-154

4

ACL Information

show access-list

This command shows all ACLs and associated rules.
Command Mode
Privileged Exec
Example

show access-group

This command shows the port assignments of ACLs.
Command Mode
Privileged Executive
Example
Table 4-47 ACL Information
Command Function Mode Page
show access-list Show all ACLs and associated rules PE 4-154
show access-group Shows the ACLs assigned to each port PE 4-154
Console#show access-list
IP standard access-list david:
permit host 10.1.1.21
permit 168.92.16.0 255.255.240.0
IP extended access-list bob:
permit 10.7.1.1 255.255.255.0 any
permit 192.168.1.0 255.255.255.0 any destination-port 80 80
permit 192.168.1.0 255.255.255.0 any protocol tcp control-code 2 2
IP access-list jerry:
permit any host 00-30-29-94-34-de ethertype 800 800
IP extended access-list A6:
deny tcp any any control-flag 2 2
permit any any
Console#
Console#show access-group
Interface ethernet 1/1
IP access-list jerry in
.
.
.
Interface ethernet 1/26
IP access-list jerry in
Console#