By default, MAC accounting is disabled. You can enable packet counting for a bridge domain. When you enable packet accounting, the JUNOS software maintains packet counters for each MAC address learned on the interfaces in the bridge domain.
To enable MAC accounting for a bridge domain, include the mac-statistics statement at the [edit bridge-domains bridge-domain-name bridge-options] hierarchy level:
- [edit]
-
bridge-domains bridge-domain-name {
-
- bridge-options {
-
mac-statistics;
- }
- }