Mac Packet-Classify - Cisco Nexus 7000 Series Command Reference Manual

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

Advertisement

mac packet-classify

mac packet-classify
To enable MAC packet classification on a Layer 2 interface, use the mac packet-classify command. To disable
MAC packet classification, use the no form of this command.
mac packet-classify
no mac packet-classify
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
Interface configuration
Command History
Release
4.2(1)
Usage Guidelines
This command does not require a license.
MAC packet classification allows you to control whether a MAC ACL that is on a Layer 2 interface applies
to all traffic entering the interface, including IP traffic, or to non-IP traffic only.
When MAC packet classification is enabled on a Layer 2 interface, a MAC ACL that is on the interface applies
to all traffic entering the interface, including IP traffic. Also, you cannot apply an IP port ACL on the interface.
When MAC packet classification is disabled on a Layer 2 interface, a MAC ACL that is on the interface
applies only to non-IP traffic entering the interface. Also, you can apply an IP port ACL on the interface.
To configure an interface as a Layer 2 interface, use the switchport command.
Examples
This example shows how to configure an Ethernet interface to operate as a Layer 2 interface and to enable
MAC packet classification:
switch# configure terminal
switch(config)# interface ethernet 2/3
switch(config-if)# switchport
switch(config-if)# mac packet-classify
switch(config-if)#
This example shows how to view the configuration of an Ethernet interface and the error message that appears
if you try to apply an IP port ACL to the interface when MAC packet classification is enabled:
switch(config)# show running-config interface ethernet 2/3
!Command: show running-config interface Ethernet2/3
!Time: Wed Jun 24 13:06:49 2009
version 4.2(1)
interface Ethernet2/3
ip access-group ipacl in
Cisco Nexus 7000 Series Security Command Reference
496
Modification
This command was introduced.
M Commands

Advertisement

Table of Contents
loading

Table of Contents