A SERVICE OF

logo

------------------------------------------------------------------------------
IPv4 Access Control Lists (ACLs)
Displaying ACL Configuration Data
Displaying the Content of a Specific ACL
This command displays a specific ACL configured in the running config file in
an easy-to-read tabular format.
Note This information also appears in the show running display. If you execute write
memory after configuring an ACL, it also appears in the show config display.
Syntax: show access-list <acl-id >
Display detailed information on the content of a specific ACL
configured in the running-config file.
For example, suppose you configured the following two ACLs in the switch:
ACL ID Ty pe Desired Action
1 Standard Deny IP traffic from 18.28.236.77 and 18.29.140.107.
Permit IP traffic from all other sources.
105 Extended Permit any TCP traffic from 18.30.133.27 to any destination.
Deny any other IP traffic from 18.30.133.(1-255).
Permit all other IP traffic from any source to any destination.
Inspect the ACLs as follows:
ProCurve(config)# show access-list 1
Access Control Lists
Name: 1
Indicates whether the ACL
Type: Standard
is applied to an interface.
Applied: Yes
SEQ Entry
10 Action: deny (log)
IP : 10.28.236.77 Mask: 0.0.0.0
20 Action: deny
IP : 10.29.140.107 Mask: 0.0.0.0
30 Action: permit
IP : 0.0.0.0 Mask: 255.255.255.255
Figure 9-30. Example of a Listing a Standard ACL
9-89