Applying A Mac Acl As A Vacl; Verifying Mac Acl Configurations; Displaying And Clearing Mac Acl Statistics - Cisco N5010P-N2K-BE Software Configuration Manual

Nx-os software configuration guide
Table of Contents

Advertisement

Chapter 20
Configuring 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 apply a MAC ACL as a port ACL, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# interface
ethernetslot/port
switch(config)# interface port-channel
channel-number}
Step 3
switch(config-if)# mac port access-group
access-list
Step 4
switch(config-if)# show running-config
Step 5
switch(config-if)# copy running-config
startup-config

Applying a MAC ACL as a VACL

You can apply a MAC ACL as a VACL. For information about how to create a VACL using a MAC ACL,
see the

Verifying MAC ACL Configurations

To display MAC ACL configuration information, perform one of the following tasks:
Command
show mac access-lists
show running-config
show running-config interface

Displaying and Clearing MAC ACL Statistics

Use the show mac access-lists command to display statistics about a MAC ACL, including the number
of packets that have matched each rule.
OL-16597-01
"Creating or Changing a VACL" section on page
Purpose
Enters configuration mode.
Enters interface configuration mode for the
specified interface.
Enters interface configuration mode for a
port-channel interface.
Applies a MAC ACL to the interface.
(Optional) Displays ACL configuration.
(Optional) Copies the running configuration to the
startup configuration.
20-15.
Purpose
Displays the MAC ACL configuration
Displays ACL configuration, including MAC
ACLs and the interfaces that ACLs are applied to.
Displays the configuration of the interface to
which you applied the ACL.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Configuring MAC ACLs
20-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nexus 5000 series

Table of Contents