IPv6 Configuration Guide K/KA/KB.15.15

Example 72 Deleting an ACE from an IPv6 ACL
HP Switch(config)# show access-list My-List config
1
ipv6 access-list "My-List"
10 permit ipv6 fe80::100/128 ::/0
20 deny ipv6 fe80::110/128 fe80::/124
30 deny ipv6 fe80::111/128 fe80::/124
40 permit ipv6 ::/0 ::/0
exit
HP Switch(config)# ipv6 access-list My-List
2
HP Switch(config-ipv6-acl)# no 30
3
HP Switch(config-ipv6-acl)# show access-list My-List config
4
ipv6 access-list "My-List"
10 permit ipv6 fe80::100/128 ::/0
20 deny ipv6 fe80::110/128 fe80::/124
40 permit ipv6 ::/0 ::/0
5
exit
1
ACL Before Deleting an ACE
2
Enters the IPv6 ACL (config-ipv6-acl) context for “My-List”
3
This command deletes the ACE at line 30
4
ACL After Deleting the ACE at Line 20
5
The ACE at line 30 has been removed
Resequencing the ACEs in an IPv6 ACL
This action reconfigures the starting sequence number for ACEs in an IPv6 ACL and resets the
numeric interval between sequence numbers for ACEs configured in the ACL.
Syntax:
ipv6 access-list resequence identifier starting-seq-# interval
Resets the sequence numbers for all ACEs in the ACL.
starting-seq-#
Specifies the sequence number for the first ACE in the list.
Default: 10; Range: 1 – 2147483647
interval
Specifies the interval between consecutive sequence numbers for the ACEs in
the list.
Default: 10; Range: 1 – 2147483647
1. To view the current sequence numbering in an ACE, use show access-list config or
show access-list identifier config.
2. Use the command syntax (above) to change the sequence numbering.
128 IPv6 Access Control Lists (ACLs)