Displaying Content Of A Specific Acl - HP 2530 Manual Supplement

Table of Contents

Advertisement

Example 43 Listing the ACL assignments for ports and trunks
HP Switch(config)# show access-list ports all
1
Access Lists for Port 1
Inbound Ipv6: List-01-Inbound
2
Access Lists for Port 12
Inbound : 101
Type
: Extended
Inbound Ipv6: Accounting
3
Access Lists for Port Trk2
Inbound Ipv6: Accounting
4
Access Lists for Port Trk5
Inbound : Marketing
Type
: Extended
An IPv6 ACL is filtering inbound traffic on port 1
1
Both an IPv4 ACL and an IPv6 ACL are filtering inbound IPv4 and IPv6 traffic, respectively,
2
on port 12
An IPv6 ACL is filtering inbound IPv6 traffic on Trunk 2 (Trk2)
3
An IPv4 ACL is filtering inbound IPv4 traffic on Trunk 5 (Trk5)
4

Displaying content of a specific ACL

This command displays a specific IPv6 or IPv4 ACL configured in the running config file as a table.
NOTE:
This information also appears in the show running display. If you execute the write
memory command after configuring an ACL, it also appears in the show config display.
For information on IPv4 ACL operation, see the latest version of the HP Switch Software Access
Security Guide for your switch.
Syntax:
show access-list <identifier> [config]
Displays 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:
Identifier
Accounting
List- 1 20
Use show access-list <identifier> to inspect a specific IPv6 or IPv4 ACL.
Type
Desired action
IPv6
Permit Telnet traffic from these two IPv6 addresses:
2001:db8:0:1af::10: 14
2001:db8:0:1af::10: 24
Deny Telnet traffic from all other devices in the same subnet.
Permit all other IPv6 traffic from the subnet.
Deny and log any IPv6 traffic from any other source.
IPv4 Extended
Permit any TCP traffic from 10.30.133.27 to any destination.
Deny any other IP traffic from 10.30.133.(1 - 255).
Permit all other IP traffic from any source to any destination.
Displaying ACL configuration data
99

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents