HP (Hewlett-Packard) W.14.03 Switch User Manual


 
IPv4 Access Control Lists (ACLs)
Displaying ACL Configuration Data
Display the Content of All ACLs on the Switch
This command lists the configuration details for the IPv4 ACLs in the running-
config file.
Syntax: show access-list config
List the configured syntax for all IPv4 ACLs currently config-
ured on the switch.
Note Notice that you can use the output from this command for input to an offline
text file in which you can edit, add, or delete ACL commands. Refer to
“Creating or Editing ACLs Offline” on page 9-94.
This information also appears in the show running display. If you executed write
memory after configuring an ACL, it appears in the show config display.
For example, with two ACLs configured in the switch, you will see results
similar to the following:
ProCurve(config)# show access-list config
ip access-list standard "List-43"
10 deny 10.28.236.77 0.0.0.0
20 deny 10.29.140.107 0.0.0.0
30 permit 0.0.0.0 255.255.255.255
exit
ip access-list extended "111"
10 permit tcp 10.30.133.27 0.0.0.0 0.0.0.0 255.255.255.255
20 permit tcp 10.30.155.101 0.0.0.0 0.0.0.0 255.255.255.255
30 deny ip 10.30.133.1 0.0.0.0 0.0.0.0 255.255.255.255 log
40 deny ip 10.30.155.1 0.0.0.255 0.0.0.0 255.255.255.255
exit
Figure 9-28. Example of an ACL Configured Syntax Listing
9-87