Reassigns sequence numbers to entries of an existing MAC, IPv4, or IPv6 access list.
Privileged EXEC mode
Reordering the sequence numbers is useful when you need to insert rules into an existing ACL and there are not enough sequence numbers available. When all sequence numbers between rules are exhausted, this feature allows the reassigning of new sequence numbers to entries of an existing access list.
The following example reorders the rules in a MAC ACL.
device# show running-config mac access-list test ! mac access-list standard test seq 1 permit 0011.2222.3333 seq 2 permit 0011.2222.4444 seq 3 permit 0011.2222.5555 seq 4 deny 0011.2222.6666 ! device# resequence access-list mac test 10 10 device# show running-config mac access-list test ! mac access-list standard test seq 10 permit 0011.2222.3333 seq 20 permit 0011.2222.4444 seq 30 permit 0011.2222.5555 seq 40 deny 0011.2222.6666 !
The following example reorders the rules in an IPv6 ACL.
device# show running-config ipv6 access-list distList ! ipv6 access-list standard distList seq 10 deny 2001:125:132:35::/64 seq 20 deny 2001:54:131::/64 seq 30 deny 2001:5409:2004::/64 seq 40 permit any! device# resequence access-list ipv6 distList 100 100 device# show running-config ipv6 access-list distList ! ipv6 access-list standard distList seq 100 deny 2001:125:132:35::/64 seq 200 deny 2001:54:131::/64 seq 300 deny 2001:5409:2004::/64 seq 400 permit any !