Changing Sequence Numbers In A Mac Acl; Applying A Mac Acl As A Port Acl - Cisco N5010P-N2K-BE Software Configuration Manual

Nx-os software configuration guide
Table of Contents

Advertisement

Configuring MAC ACLs
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
To remove a MAC ACL, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# no mac access-list name
Step 3
switch(config)# show mac access-lists
Step 4
switch(config)# 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. For more
information, see the
To change all the sequence numbers assigned to rules in a MAC ACL, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# resequence mac access-list
name starting-sequence-number increment
Step 3
switch(config)# show mac access-lists name
Step 4
switch(config)# copy running-config
startup-config

Applying a MAC ACL as a Port ACL

You can apply a MAC ACL as a port ACL to any of the following interface types:
Be sure that the ACL that you want to apply exists and is configured to filter traffic as necessary for this
application. For more information about configuring MAC ACLs, see the
section on page
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
20-12
"Rules" section on page
Layer 2 interfaces
Port-channel interfaces
20-4.
Purpose
Enters configuration mode.
Removes the MAC ACL that you specify by name
from the running configuration.
(Optional) Displays the MAC ACL configuration.
(Optional) Copies the running configuration to the
startup configuration.
20-2.
Purpose
Enters 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.
(Optional) Displays the MAC ACL configuration.
(Optional) Copies the running configuration to the
startup configuration.
Chapter 20
Configuring ACLs
"Configuring IP ACLs"
OL-16597-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nexus 5000 series

Table of Contents