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

Type

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

Type: Standard Indicates whether the ACL is applied to an interface.

Applied: Yes

SEQ Entry

------------------------------------------------------------------------------

10

Action:

deny (log)

Mask: 0.0.0.0

 

IP

:

10.28.236.77

20

Action:

deny

Mask: 0.0.0.0

 

IP

:

10.29.140.107

30

Action:

permit

Mask: 255.255.255.255

 

IP

:

0.0.0.0

Figure 9-30. Example of a Listing a Standard ACL

9-89