ipv6 access-list "XYZ"
100 remark "Permits HTTP"
100 permit tcp 2001:db8::2:1/120 eq 80 ::/0
110 remark "Denies HTTP from subnet 1."
120 remark "Denies pop3 from 1:157."
120 deny tcp 2001:db8::1:157/128 eq 110 ::/0 log
130 permit ipv6 ::/0 ::/0
exit
•
Entering either an unnumbered remark followed by a manually numbered ACE (using <
1 -
2147483647
>), or the reverse (an unnumbered ACE followed by a manually numbered
remark) can create an "orphan" remark.
•
Configuring two remarks without including either sequence numbers or an intervening
unnumbered ACE causes the second remark to overwrite the first.
Example 39 Overwriting one remark with another
HP Switch(config-ipv6-acl)# permit ipv6 host fe80::a1:121 fe80::/104
HP Switch(config-ipv6-acl)# deny tcp any eq ftp 2001:db8:0:a1::/64
HP Switch(config-ipv6-acl)# remark Marketing
HP Switch(config-ipv6-acl)# remark Channel_Mktg
Port_1_5400(config-ipv6-acl)# show access-list Accounting config
ipv6 access-list "Accounting"
10 permit ipv6 fe80::a1:121/128 fe80::/104
20 deny tcp ::/0 eq 21 2001:db8:0:a1::/64
30 remark "Channel_Mktg"
exit
NOTE:
Where multiple remarks are sequentially entered for automatic inclusion
at the end of an ACL, each successive remark replaces the previous one until an
ACE is configured for automatic inclusion at the end of the list.
Displaying ACL configuration data
Page
Function
ACL Commands
View a brief listing of all ACLs on the switch.
show access-list
Display the ACL lists configured in the
switch.
show access-list config
List the name and type for each IPv4 and
IPv6 ACL application assigned to a
particular VLAN on the switch.
show access-list vlan <vid>
List the name and type of ACLs assigned to
all ports on the switch or to a particular port
or static trunk configured on the switch.
show access-list ports
<all |
<port-list>>
“Displaying static port (and trunk)
ACL assignments” (page 98)
Display detailed content information for a
specific ACL.
show access-list vlan
<acl-name-string>
See appendix "Monitoring
Resources" in the current HP
Display the currently available per-slot
resource availability.
show access-list resources
Switch Software Management
and Configuration Guide for your
switch.
For more on
this topic, see
List the IPv4 and IPv6 RADIUS ACLs currently
assigned for either all ports and trunks, or
for the specified ports or trunks.
show access-list radius
<all |
<port-list>
chapter
94
Updates for the HP Switch Software IPv6 Configuration Guide