IPv6 Configuration Guide K/KA/KB.15.15

Example 73 Viewing and Resequencing an ACL
This example resequences the "My-List" ACL at the bottom of Example 72 (page 128) so that the
list begins with line 100 and uses a sequence interval of 100.
HP Switch(config)# show access-list My-List config
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
exit
HP Switch(config)# ipv6 access-list resequence My-List 100
100
HP Switch(config)# show access-list config
ipv6 access-list "My-List"
100 permit ipv6 fe80::100/128 ::/0
200 deny ipv6 fe80::110/128 fe80::/124
300 permit ipv6 ::/0 ::/0
exit
Attaching a remark to an ACE
A remark is numbered in the same way as an ACE and uses the same sequence number as the
ACE to which it refers. This operation requires that the remark for a given ACE be entered prior
to entering the ACE itself.
Syntax:
remark remark-str
1 - 2147483647 remark remark-str
no seq-# remark
These commands are used in the ACL context to enter a comment related to an
adjacent ACE. To associate a remark with a specific ACE, do one of the following:
Enter the remark first (without a sequence number) and immediately follow it
with the ACE (also without a sequence number). The remark and the following
ACE will have the same (automatically generated) sequence number.
Enter the ACE with or without a sequence number, then use 1 - 2147483647
remark remark-str to enter the remark, where a number in the range
of 1 - 2147483647 matches the sequence number of the related ACE. This
method is useful when you want to enter a remark at some time after you have
entered the related ACE.
remark-str
The text of the remark. If spaces are included in the remark, the remark string
must be delimited by either single quotes or double quotes. For example:
remark Permits_Telnet_from_2001:db8:0:1ab_subnet
remark "Permits Telnet from 2001:db8:0:1ab subnet"
remark 'Permits Telnet from 2001:db8:0:1ab subnet'
1 - 2147483647
The range of valid sequence numbers for an ACL.
For example, if the sequence number of the last ACE entered is "30", and sequence
numbering is set to the (default) interval of 10, entering a remark and another ACE
without specifying any sequence numbers results in a sequence number of "40" for
both the remark and the ACE that follows it.
Attaching a remark to an ACE 129