Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
20-9
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 20 Configuring ACLs
Configuring MAC ACLs
Displaying and Clearing IP ACL Statistics
Use the show ip access-lists command to display statistics about an IP ACL, including the number of
packets that have matched each rule. For detailed information about the fields in the output from this
command, refer to the Cisco Nexus 5000 Series Command Reference.
Note The mac access-list is applicable to non-IPv4 and non-IPv6 traffic only.
To display or clear VACL statistics, perform one of the following tasks:
For detailed information about these commands, refer to the Cisco Nexus 5000 Series Command
Reference.
Configuring MAC ACLs
This section includes the following topics:
Creating a MAC ACL, page 20-10
Changing a MAC ACL, page 20-10
Removing a MAC ACL, page 20-11
Changing Sequence Numbers in a MAC ACL, page 20-12
Applying a MAC ACL as a Port ACL, page 20-12
Applying a MAC ACL as a VACL, page 20-13
Verifying MAC ACL Configurations, page 20-13
Displaying and Clearing MAC ACL Statistics, page 20-13
Command Purpose
show ip access-lists Displays IP ACL configuration. If the IP ACL
includes the statistics command, then the show ip
access-lists command output includes the number
of packets that have matched each rule.
clear ip access-list counters Clears statistics for all IP ACLs or for a specific
IP ACL.