Command Line Reference Guide
Access Control Lists (ACL) | 229
You cannot include IP, TCP or UDP filters in an ACL configured with ARP filters.
permit ether-type
e
Configure a filter that allows traffic with specified types of Ethernet packets. This command is
supported only on 12-port GE line cards with SFP optics; refer to your line card documentation for
specifications.
Syntax
permit ether-type protocol-type-number {destination-mac-address mac-address-mask |
any} vlan vlan-id {source-mac-address mac-address-mask | any} [count [byte] | log]
[order] [monitor]
To remove this filter, use one of the following:
• Use the no seq sequence-number command syntax if you know the filter’s sequence number or
• Use the no permit ether-type protocol-type-number {destination-mac-address
mac-address-mask | any} vlan vlan-id {source-mac-address mac-address-mask | any}
command.
Parameters
Note: When ACL logging and byte counters are configured simultaneously, byte counters
may display an incorrect value. Configure packet counters with logging instead.
protocol-type-number
Enter a number from 600 to FFF as the specific Ethernet type traffic to drop.
destination-mac-address
mac-address-mask
Enter a MAC address and mask in the nn:nn:nn:nn:nn format.
For the MAC address mask, specify which bits in the MAC address must
match.
The MAC ACL supports an inverse mask, therefore, a mask of ff:ff:ff:ff:ff:ff
allows entries that do not match and a mask of 00:00:00:00:00:00 only allows
entries that match exactly.
any Enter the keyword any to match and drop specific Ethernet traffic on the
interface.
vlan vlan-id Enter the keyword vlan followed by the VLAN ID to filter traffic associated
with a specific VLAN.
Range: 1 to 4094, 1-2094 for ExaScale (can used IDs 1-4094)
To filter all VLAN traffic specify VLAN 1.
source-mac-address
mac-address-mask
Enter a MAC address and mask in the nn:nn:nn:nn:nn format.
For the MAC address mask, specify which bits in the MAC address must
match.
The MAC ACL supports an inverse mask, therefore, a mask of ff:ff:ff:ff:ff:ff
allows entries that do not match and a mask of 00:00:00:00:00:00 only allows
entries that match exactly.
count (OPTIONAL) Enter the keyword count to count packets processed by the
filter.
byte (OPTIONAL) Enter the keyword byte to count bytes processed by the filter.
log (OPTIONAL, E-Series only) Enter the keyword log to have the information
kept in an ACL log file.