Displaying And Clearing Mac Acl Statistics; Example Configuration For Mac Acls; Information About Vlan Acls; Vacls And Access Maps - Cisco AP775A - Nexus Converged Network Switch 5010 Configuration Manual

Cli software configuration guide
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Example Configuration for MAC ACLs

Procedure
Step 1
Step 2
Step 3

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.
Procedure
Step 1
Step 2
Example Configuration for MAC ACLs
This example shows how to create a MAC ACL named acl-mac-01 and apply it to Ethernet interface 1/1:
switch# configure terminal
switch(config)# mac access-list acl-mac-01
switch(config-mac-acl)# permit 00c0.4f00.0000 0000.00ff.ffff any
switch(config-mac-acl)# exit
switch(config)# interface ethernet 1/1
switch(config-if)# mac access-group acl-mac-01

Information About VLAN ACLs

A VLAN ACL (VACL) is one application of a MAC ACL or IP ACL. You can configure VACLs to apply
to all packets that are bridged within a VLAN. VACLs are used strictly for security packet filtering. VACLs
are not defined by direction (ingress or egress).

VACLs and Access Maps

VACLs use access maps to link an IP ACL or a MAC ACL to an action. The switch takes the configured
action on packets permitted by the VACL.
OL-16597-01
Command or Action
switch# show mac access-lists
switch# show running-config
switch# show running-config
interface
Command or Action
switch# show mac access-lists
switch# clear mac access-list
counters
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Displaying and Clearing MAC ACL Statistics
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.
Purpose
Displays MAC ACL configuration. If the MAC ACL
includes the statistics command, the show mac access-lists
command output includes the number of packets that have
matched each rule.
Clears statistics for all MAC ACLs or for a specific MAC
ACL.
291

Advertisement

Table of Contents
loading

Table of Contents