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-15
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 20 Configuring ACLs
Configuring VACLs
Statistics
The switch can maintain global statistics for each rule in a VACL. If a VACL is applied to multiple
VLANs, the maintained rule statistics are the sum of packet matches (hits) on all the interfaces on which
that VACL is applied.
Note The Cisco Nexus 5000 Series switch does not support interface-level VACL statistics.
For each VLAN access map that you configure, you can specify whether the switch maintains statistics
for that VACL. This allows you to turn VACL statistics on or off as needed to monitor traffic filtered by
a VACL or to help troubleshoot VLAN access-map configuration.
For information about displaying VACL statistics, see the “Displaying and Clearing IP ACL Statistics”
section on page 20-9.
Configuring VACLs
This section includes the following topics:
Creating or Changing a VACL, page 20-15
Removing a VACL, page 20-16
Applying a VACL to a VLAN, page 20-16
Verifying VACL Configuration, page 20-17
Displaying and Clearing VACL Statistics, page 20-17
Creating or Changing a VACL
You can create or change a VACL. Creating a VACL includes creating an access map that associates an
IP ACL or MAC ACL with an action to be applied to the matching traffic.
To create or change a VACL, perform this task:
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# vlan access-map map-name
Enters access map configuration mode for the
access map specified.
Step 3
switch(config-access-map)# match ip
address ip-access-list
Specifies an IPv4 and IPV6 ACL for the map.
switch(config-access-map)# match mac
address mac-access-list
Specifies a MAC ACL for the map.