Purpose
Command or Action
Displays the MAC ACL configuration.
(Optional)
show mac access-lists name
Example:
Step 6
switch(config-mac-acl)# show mac access-lists
acl-mac-01
Copies the running configuration to the startup
configuration.
(Optional)
copy running-config startup-config
Example:
Step 7
switch(config-mac-acl)# copy running-config
startup-config
Changing Sequence Numbers in a MAC ACL
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.
SUMMARY STEPS
1.
configure terminal
2.
resequence mac access-list name starting-sequence-number increment
3.
(Optional)
show mac access-lists name
4.
(Optional)
copy running-config startup-config
DETAILED STEPS
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
Step 1
switch# configure terminal
switch(config)#
Assigns sequence numbers to the rules contained in the
ACL, where the first rule receives the number specified by
resequence mac access-list name
starting-sequence-number increment
Step 2
the starting-sequence number that you specify. Each
Example:
subsequent rule receives a number larger than the preceding
switch(config)# resequence mac access-list
acl-mac-01 100 10
rule. The difference in numbers is determined by the
increment number that you specify.
Displays the MAC ACL configuration.
(Optional)
show mac access-lists name
Example:
Step 3
switch(config)# show mac access-lists acl-mac-01
Copies the running configuration to the startup
configuration.
(Optional)
copy running-config startup-config
Example:
Step 4
switch(config)# copy running-config startup-config
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
289
Configuring MAC ACLs
Changing Sequence Numbers in a MAC ACL