Resequencing the aces in an ipv6 acl, Resequencing the aces in an ipv6 acl -68 – HP 6200YL User Manual

Page 244

Advertising
background image

IPv6 Access Control Lists (ACLs)
Editing an Existing ACL

ProCurve(config)# show access-list My-List config

ipv6 access-list "My-List"

ACL Before Deleting an ACE

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

ProCurve(config)# ipv6 access-list My-List

ProCurve(config-ipv6-acl)# no 30

ProCurve(config-ipv6-acl)# show access-list My-List config

Enters the IPv6 ACL (config-ipv6-acl)
context for “My-List”.

This command deletes the ACE at line 30.

The ACE at line 30 has been removed.

ipv6 access-list "My-List"

ACL After Deleting the ACE at Line 20

10 permit ipv6 fe80::100/128 ::/0

20 deny ipv6 fe80::110/128 fe80::/124

40 permit ipv6 ::/0 ::/0

exit

Figure 8-21. Example of Deleting an ACE from An IPv6 ACL

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.

This example resequences the “My-List” ACL at the bottom of figure 8-21 so
that the list begins with line 100 and uses a sequence interval of 100.

8-68

Advertising
This manual is related to the following products: