Reference Guide

For a SONET interface, enter the keyword sonet followed by
the slot/ port information.
For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet followed by the slot/port
information.
For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE followed by the slot/port information.
vlan
vlan-id
Enter the keyword vlan followed by a VLAN ID number from 1 to
4094.
Command Modes EXEC Privilege
Command History
Version 8.3.12.0 Added support for sticky MAC addresses.
Version 8.3.11.1 Introduced on the Z9000.
Version 8.5.1.0 Added support for 4-port 40G line cards on ExaScale.
Version 8.3.7.0 Introduced on the S4810.
Version 7.6.1.0 Introduced on the S-Series.
Version 7.5.1.0 Introduced on the C-Series.
Version 6.1.1.1 Introduced on the E-Series.
mac accounting destination
Configure a destination counter for Layer 2 traffic.
E-Series
Syntax
mac accounting destination {mac-address vlan vlan-id | vlan}
[bytes | packets]
To delete a destination counter, use the no mac accounting destination command.
Parameters
mac-address
Enter the MAC address in the nn:nn:nn:nn:nn:nn format to count Layer
2 packets or bytes sent to that MAC address.
vlan
vlan-id
Enter the keyword vlan followed by the VLAN ID to count Layer 2
packets or bytes sent to the VLAN. The range is 1 to 4094.
bytes (OPTIONAL) Enter the keyword bytes to count only bytes.
packets (OPTIONAL) Enter the keyword packets to count only packets.
Defaults Not configured.
Command Modes INTERFACE (available on physical interfaces only)
Command History
Version 7.4.1.0 Introduced on the E-Series.
1040