ACL Information
Command
show access-list
show access-group
show access-list
This command shows all ACLs and associated rules, as well as all the user-defined
masks.
Command Mode
Privileged Exec
Command Usage
Once the ACL is bound to an interface (i.e., the ACL is active), the order in
which the rules are displayed is determined by the associated mask.
Example
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
IP access-list jerry:
permit any host 00-30-29-94-34-de ethertype 800 800
IP extended access-list A6:
permit any any
Console#
show access-group
This command shows the port assignments of ACLs.
Command Mode
Privileged Executive
Example
Console#show access-group
Interface ethernet 1/1
IP access-list jerry in
.
.
.
Interface ethernet 1/26
IP access-list jerry in
Console#
Table 4-36 ACL Information
Function
Show all ACLs and associated rules
Shows the ACLs assigned to each port
Access Control List Commands
Mode
PE
PE
4
Page
4-99
4-99
4-99
Need help?
Do you have a question about the SMC8126L2 and is the answer not in the manual?
Questions and answers