Match - Cisco Nexus 5500 Series Command Reference Manual

Nx-os security command reference
Hide thumbs Also See for Nexus 5500 Series:
Table of Contents

Advertisement

match

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 mode
Command History
Release
5.2(1)N1(1)
Usage Guidelines
You can specify only one match command per access map.
Examples
This example shows how to create a VLAN access map named vlan-map-01, assign an IPv4 ACL named
ip-acl-01 to the map, specify that the switch forwards packets matching the ACL, and enable 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
Cisco Nexus 5500 Series NX-OS Security Command Reference
150
match {ip | ipv6 | mac} address access-list-name
no match {ip | ipv6 | mac} address access-list-name
Specifies an IPv4 ACL.
Specifies an IPv6 ACL
Specifies a MAC ACL.
Specifies the IPv4, IPv6, or MAC address and the access list name. The name
can be up to 64 alphanumeric, case-sensitive characters long.
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.
Chapter
M Commands
OL-27883-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents