You can change all the sequence numbers assigned to rules in a MAC ACL. Resequencing is useful when you need to insert rules into an ACL and there are not enough available sequence numbers.
| | Command or Action | Purpose |
| Step 1 |
configure terminal
Example:
switch# configure terminal
switch(config)#
|
Enters global configuration mode.
|
| Step 2 |
resequence mac access-list
name
starting-sequence-number
increment
Example:
switch(config)# resequence mac access-list acl-mac-01 100 10
|
Assigns sequence numbers to the rules contained in the ACL, where the first rule receives the number specified by the starting-sequence number that you specify. Each subsequent rule receives a number larger than the preceding rule. The difference in numbers is determined by the increment number that you specify.
|
| Step 3 |
show mac access-lists
name
Example:
switch(config)# show mac access-lists acl-mac-01
| (Optional)
Displays the MAC ACL configuration.
|
| Step 4 |
copy running-config startup-config
Example:
switch(config)# copy running-config startup-config
| (Optional)
Copies the running configuration to the startup configuration.
|