IPv4 Access Control Lists (ACLs)

Displaying ACL Configuration Data

Display Static Port ACL Assignments

This command briefly lists the identification and type(s) of current static port ACL assignments to individual switch ports and trunks, as configured in the running-config file. (The switch allows one static port ACL assignment per port.)

Syntax: show access-list ports < all interface >

Lists the current static port ACL assignments for ports and trunks in the running config file.

Note

This information also appears in the show running display. If you execute write

 

memory after configuring an ACL, it appears in the show config display.

 

 

For example, if you assigned a standard ACL with an ACL-ID of “Port-10” to filter inbound IP traffic on switch ports B10-B11 and trunk trk1, you could verify these assignments as shown in figure 9-29.

ProCurve(config)# show access-list ports all

Access Lists

for Port B10

Inbound

:

15

Type

:

Standard

Access Lists

for Port B11

Inbound

:

15

Type

:

Standard

Access Lists

for Port Trk1

Indicates that a standard ACL with the ID of “15” is assigned to filter traffic entering the switch on ports B10 and B11, and on trunk Trk1.

Inbound

:

15

Type

:

Standard

Figure 9-29. Example of Listing the ACL Assignments for Ports and Trunks

9-88