Navigation
Enabling MAC Accounting
By default, MAC accounting is disabled. You can enable packet accounting either for a router or switch as a whole or for a specific VLAN. After you enable packet accounting, the Junos OS maintains packet counters for each MAC address learned.
To enable MAC accounting, include the global-mac-statistics statement at the [edit protocols l2-learning] hierarchy level:
[edit protocols l2-learning]global-mac-statistics;