Match - Cisco AP775A - Nexus Converged Network Switch 5010 Command Reference Manual

Cisco nexus 5000 series command reference, release 4.1(3)n1(1) (ol-16599-01, august 2009)
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Chapter 6
Security Commands
S e n d c o m m e n t s 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

match

To specify an access control list (ACL) for traffic filtering in a VLAN access map, use the match
command. To remove a match command from a VLAN access map, use the no form of this command.
Syntax Description
ip
ipv6
mac
address
access-list-name
Command Default
By default, the switch classifies traffic and applies IPv4 ACLs to IPv4 traffic and MAC ACLs to all other
traffic.
Command Modes
VLAN access-map configuration.
Command History
Release
4.0(0)N1(1a)
Usage Guidelines
You can specify only one match command per access map.
Examples
This example creates a VLAN access map named vlan-map-01, assigns an IPv4 ACL named ip-acl-01
to the map, specifies that the switch forwards packets matching the ACL, and enables statistics for traffic
matching the map:
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)# statistics
Related Commands
Command
action
show vlan access-map
show vlan filter
vlan access-map
vlan filter
OL-16599-01
match {ip | ipv6 | mac} address access-list-name
no match {ip | ipv6 | mac} address access-list-name
The specified ACL is an IPv4 ACL.
Configures IPv6 features
The specified ACL is a MAC ACL.
Specifies the ACL.
Modification
This command was introduced.
Description
Specifies an action 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.
Configures a VLAN access map.
Applies a VLAN access map to one or more VLANs.
Cisco Nexus 5000 Series Command Reference
match
6-51

Advertisement

Table of Contents
loading

Table of Contents