HP 2530 Manual Supplement page 92

Table of Contents

Advertisement

<remark-str>
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>
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 creates a sequence number of "40" for
both the remark and the ACE that follows it.
The no form of the command deletes the indicated remark but does not affect the
related ACE.
Appending remarks and related ACEs to the end of an ACL. To include a remark for an ACE that
will be appended to the end of the current ACL, enter the remark first, then enter the related ACE.
This causes the remark and the subsequent ACE to have the same sequence number. For example,
to append an ACE with an associated remark to the end of an ACL named List- 1 00, you would
enter remarks from the CLI context for the desired ACL (see
Example 36 Appending remarks and related ACEs to the end of an ACL
To append an ACE with an associated remark to the end of an ACL named "List- 1 00," enter
remarks from the CLI context for the desired ACL:
HP Switch(config)# ipv6 access-list List-100
HP Switch(config-ipv6-acl)# permit tcp host 2001:db8:0:b::100:17 eq telnet
any
HP Switch(config-ipv6-acl)# permit tcp host 2001:db8:0:b::100:23 eq telnet
any
HP Switch(config-ipv6-acl)# remark "BLOCKS UNAUTH TELNET TRAFFIC FROM
SUBNET B"
HP Switch(config-ipv6-acll)# deny tcp 2001:db8:0:a::/64 eq telnet any
HP Switch(config-ipv6-acl)# show access-list List-100 config
ipv6 access-list "List-100"
10 remark "TEXT"
10 permit tcp 2001:db8:0:b::100:17/128 eq 23 ::/0
20 permit tcp 2001:db8:0:b::100:23/128 eq 23 ::/0
30 remark "BLOCKS UNAUTH TELNET TRAFFIC FROM SUBNET B"
30 deny tcp 2001:db8:0:b::/64 eq 23 ::/0
exit
HP Switch(config-ipv6-acl)#
Inserting remarks and related ACEs within an existing list. To insert an ACE with a remark within
an ACL by specifying a sequence number:
1.
Insert the numbered remark first
2.
Then, using the same sequence number, insert the ACE (see
92
Updates for the HP Switch Software IPv6 Configuration Guide
The text of the remark. If spaces are included in the
remark, the remark string must be delimited by either
single or double quotes. For example:
The range of valid sequence numbers for an ACL.
1
The remark is assigned the same number as the immediately
1
following ACE ("30" in this example) is assigned when it is
2
automatically appended to the end of the list. This operation
applies where new remarks and ACEs are appended to the
end of the ACL and are automatically assigned a sequence
number.
Example 36 (page
92)).
2
Example 37 (page
93))

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents