Enabling MAC Accounting for a Set of Bridge Domains
By default, MAC accounting is disabled. You can enable packet counting for a set of bridge domains. After you enable packet accounting, the Junos OS maintains packet counters for each MAC address learned on the trunk port associated with the set of bridge domains.
To enable MAC accounting for a set of bridge domains,
include the mac-statistics
statement at the [edit
switch-options]
hierarchy level:
[edit switch-options] mac-statistics;