Resequence access-list – Brocade Network OS Command Reference v4.1.0 User Manual
Page 657
Network OS Command Reference
619
53-1003115-01
resequence access-list
2
resequence access-list
Specifies the renumbering of the rules in a MAC or IP ACL.
Synopsis
resequence {ip | ipv6 | mac} access-list name [seq_num | increment]
no resequence {ip | ipv6 | mac} access-list name [seq_num | increment]
Operands
ip | ipv6 | mac
Specifies the Layer 2 or Layer 3 ACL bound to an interface.
name
Specifies the name of a standard or an extended ACL. A maximum of 63
characters is allowed.
seq_num
Specifies the starting sequence number in the ACL. Valid values range
from 1 through 65535.
increment
Specifies a value to increment the sequence number between rules. Valid
values range 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 or IP access-list.
Usage Guidelines
Reordering the sequence numbers is useful when you need to insert rules into an existing MAC or
IP 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.
Use the no form of this command to remove the ACL binding sequence.
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, seq (extended MAC ACLs), seq (standard IP ACLs),
seq (standard MAC ACLs)