Sequence numbering in acls, Sequence numbering in acls -64 – HP 6200YL User Manual

Page 240

Advertising
background image

IPv6 Access Control Lists (ACLs)
Editing an Existing ACL

Sequence Numbering in ACLs

The ACEs in any ACL are sequentially numbered. In the default state, the
sequence number of the first ACE in a list is “10” and subsequent ACEs are
numbered in increments of 10. For example, the following

show run output

shows an ACL named “My-list” using the default numbering scheme:

ipv6 access-list "My-list"

10 permit ipv6 2001:db8:0:5ad::25/128 ::/0

20 permit ipv6 2001:db8:0:5ad::111/128 ::/0

30 permit icmp 2001:db8:0:5ad::115/128 ::/0 135

40 deny ipv6 2001:db8:0:5ad::/64 ::/0

exit

Figure 8-16. Example of the Default Sequential Numbering for ACEs

An ACE can be appended to the end of the ACL by using

ipv6 access-list from

the global configuration prompt or by entering the ACL context:

ProCurve(config)# ipv6 access-list My-list permit esp host 2001:db8:0:5ad::19 any

From the global configuration prompt,
appends an ACE to the end of the ACL
named My-list..

ProCurve(Config)# ipv6 access-list My-list
ProCurve(config-ipv6-acl)# permit ipv6 any host 2001:db8:0:5ad::1

Enters the context of the “My-list” ACL
and appends an ACE to the end of the list.

Figure 8-17. Examples of Ways to Append a New ACE to the end of an ACL

8-64

Advertising
This manual is related to the following products: