Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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;

    Published: 2013-04-03