Reference Guide

Access Control Lists (ACL) | 219
Example
Figure 6-6. Command Example: show mac accounting access-list
Related
Commands
Standard MAC ACL Commands
When an access-list is created without any rule and then applied to an interface, ACL behavior reflects
implicit permit.
c and s platforms (except the S4810 system) support Ingress MAC ACLs only.
The and Z9000 support both Ingress and Egress MAC ACLs.
The following commands configure standard MAC ACLs:
deny
mac access-list standard
permit
seq
deny
c e s z
Configure a filter to drop packets with a the MAC address specified.
Syntax
deny {any | mac-source-address [mac-source-address-mask]} [count [byte]] [log]
[monitor]
To remove this filter, you have two choices:
Use the no seq sequence-number command syntax if you know the filters sequence number or
Use the no deny {any | mac-source-address mac-source-address-mask} command.
Parameters
FTOS#show mac accounting access-list mac-ext interface po 1
Extended mac access-list mac-ext on GigabitEthernet 0/11
seq 5 permit host 00:00:00:00:00:11 host 00:00:00:00:00:19 count (393794576 packets)
seq 10 deny host 00:00:00:00:00:21 host 00:00:00:00:00:29 count (89076777 packets)
seq 15 deny host 00:00:00:00:00:31 host 00:00:00:00:00:39 count (0 packets)
seq 20 deny host 00:00:00:00:00:41 host 00:00:00:00:00:49 count (0 packets)
seq 25 permit any any count (0 packets)
Extended mac access-list mac-ext on GigabitEthernet 0/12
seq 5 permit host 00:00:00:00:00:11 host 00:00:00:00:00:19 count (57589834 packets)
seq 10 deny host 00:00:00:00:00:21 host 00:00:00:00:00:29 count (393143077 packets)
seq 15 deny host 00:00:00:00:00:31 host 00:00:00:00:00:39 count (0 packets)
seq 20 deny host 00:00:00:00:00:41 host 00:00:00:00:00:49 count (0 packets)
seq 25 permit any any count (0 packets)
FTOS#
show mac accounting destination Display destination counters for Layer 2 traffic (available on
physical interfaces only).
Note: See also Commands Common to all ACL Types and Common MAC Access List
Commands.
any Enter the keyword any to specify that all traffic is subject to the
filter.
mac-source-address
Enter a MAC address in nn:nn:nn:nn:nn:nn format.