Technical data

Table Of Contents
42 Converged Enhanced Ethernet Command Reference
53-1002508-01
deny (extended ACLs)
2
deny (extended ACLs)
Configures a MAC address rule to drop traffic based on the source and destination MAC addresses.
Synopsis deny {any | host MAC _ACL| MAC_ACL} {any | host MAC _ACL| MAC _ACL} {EtherType | arp | fcoe
| ipv4} [count]
no deny {any | host MAC _ACL| MAC_ACL} {any | host MAC _ACL| MAC _ACL} {EtherType | arp |
fcoe | ipv4}
Operands any Specifies any source MAC address.
host MAC_ACL Specifies a host-specific source host MAC address for which to set deny
conditions. Use the format HHHH.HHHH.HHHH.
MAC_ACL Specifies any MAC address for which to set deny conditions. Use the format
HHHH.HHHH.HHHH.
any Specifies any destination MAC address.
host MAC_ACL Specifies a host-specific destination address for which to set deny conditions.
Use the format HHHH.HHHH.HHHH.
MAC_ACL Specifies any destination address for which to set deny conditions. Use the
format HHHH.HHHH.HHHH.
Ethertype Specifies the protocol number for which to set the deny conditions. The
range of valid values is from 1536 through 65535.
arp Specifies to deny the Address Resolution Protocol (0x0806).
fcoe Specifies to deny the Fibre Channel over Ethernet Protocol (0x8906).
ipv4 Specifies to deny the IPv4 protocol (0x0800).
count Enables counting of the packets matching the rule.
Defaults By default, no MAC ACLs are configured.
Command
Modes
Feature Access Control List configuration mode
Description Use this command to configure rules to match and drop traffic based on the source and
destination MAC addresses and the protocol type. You can also enable counters for a specific rule.
There are 255 ACL counters supported per port group. Use the no deny command to remove a rule
from the MAC ACL.
Usage
Guidelines
The first set of {any |
host MAC_ACL | MAC_ACL} parameters is specific to the source MAC
address. The second set of {any | host MAC_ACL | MAC_ACL} parameters is specific to the
destination MAC address. The host MAC_ACL parameters is used for host sources only.
Examples To create a rule in an extended MAC ACL to drop IPv4 traffic from the source MAC address
0022.3333.4444 to the destination MAC address 0022.3333.5555
and to enable the counting
of packets:
switch(conf-macl-ext)#deny 0022.3333.4444 0022.3333.5555 ipv4 count