Cisco Nexus 7000 Series Command Reference Manual page 1011

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

V Commands
Use the statistics per-entry command to configure the device to record statistics for a VLAN access-map
entry.
This command does not require a license.
Examples
This example shows how to create a VLAN access map named vlan-map-01, add two entries that each have
two match commands and one action command, and enable statistics for the packets matched by the second
entry:
switch(config)# vlan access-map vlan-map-01
switch(config-access-map)# match ip address ip-acl-01
switch(config-access-map)# action forward
switch(config-access-map)# match mac address mac-acl-00f
switch(config-access-map)# vlan access-map vlan-map-01
switch(config-access-map)# match ip address ip-acl-320
switch(config-access-map)# match mac address mac-acl-00e
switch(config-access-map)# action drop
switch(config-access-map)# statistics per-entry
switch(config-access-map)# show vlan access-map
Vlan access-map vlan-map-01 10
Vlan access-map vlan-map-01 20
Related Commands
Command
action
match
show vlan access-map
show vlan filter
statistics per-entry
vlan filter
match ip: ip-acl-01
match mac: mac-acl-00f
action: forward
match ip: ip-acl-320
match mac: mac-acl-00e
action: drop
statistics per-entry
Description
Specifies an action for traffic filtering in a VLAN
access map.
Specifies an ACL for traffic filtering in a VLAN
access map.
Displays all VLAN access maps or a VLAN access
map.
Displays information about how a VLAN access map
is applied.
Enables collection of statistics for each entry in an
ACL.
Applies a VLAN access map to one or more VLANs.
Cisco Nexus 7000 Series Security Command Reference
vlan access-map
985

Advertisement

Table of Contents
loading

Table of Contents