Changing Sequence Numbers In A Mac Acl - Cisco Nexus 9000 Series Configuration Manual

Nx-os security configuration guide, release 9.x
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring MAC ACLs
Command or Action
Step 6
(Optional) show mac access-lists name
Example:
switch(config-mac-acl)# show mac access-lists
acl-mac-01
Step 7
(Optional) copy running-config startup-config
Example:
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
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
resequence mac access-list name
starting-sequence-number increment
Example:
switch(config)# resequence mac access-list
acl-mac-01 100 10
Step 3
(Optional) show mac access-lists name
Example:
switch(config)# show mac access-lists acl-mac-01
Step 4
(Optional) copy running-config startup-config
Example:
switch(config)# copy running-config startup-config
Purpose
Displays the MAC ACL configuration.
Copies the running configuration to the startup
configuration.
Purpose
Enters global configuration mode.
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.
Displays the MAC ACL configuration.
Copies the running configuration to the startup
configuration.
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
Changing Sequence Numbers in a MAC ACL
289

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents