Technical data

Table Of Contents
136 Converged Enhanced Ethernet Command Reference
53-1002508-01
resequence access-list mac
2
resequence access-list mac
Specifies the renumbering of the rules in a MAC ACL.
Synopsis resequence access-list mac {name | seq_num | increment}
Operands name Specifies the name of a standard or an extended MAC ACL.
seq_num Specifies the starting sequence number in the MAC ACL. The range of valid
values is from 1 through 65535.
increment Specifies a value to increment the sequence number between rules. The
range of valid values is from 1 through 65535.
Defaults None
Command
Modes
Privileged EXEC mode
Description Use this command to reassign sequence numbers to entries of an existing MAC access list.
Usage
Guidelines
Reordering the sequence numbers is useful when you need to insert rules into an existing MAC ACL
and there are not enough sequence numbers available. When all sequence numbers between
rules are exhausted, this command allows the reassigning of new sequence numbers to entries of
an existing access list.
Examples To reorder the rules in a MAC ACL:
switch#show running-config access-list mac 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
!
switch#resequence access-list mac test 10 10
switch#show running-config access-list mac 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
!
See Also mac access-list extended, mac access-list standard, seq (extended MAC ACLs), seq (standard MAC
ACLs)