
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
1-15
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 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”
Configuring VACLs
This section includes the following topics:
•
Creating or Changing a VACL, page 1-15
•
•
Applying a VACL to a VLAN, page 1-16
•
Verifying VACL Configuration, page 1-17
•
Displaying and Clearing VACL Statistics, page 1-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 global 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 a IPv4, and IPV6 ACL for the map.
switch(config-access-map)#
match
mac
address
mac-access-list
Specifies a MAC ACL for the map.