Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Enabling MAC Accounting

By default, MAC accounting is disabled. On MX Series routers, you can enable packet accounting either for the router as a whole or for a specific bridge domain. After you enable packet accounting, the Junos OS maintains packet counters for each MAC address learned.

To enable MAC accounting for an MX Series router, include the global-mac-statistics statement at the [edit protocols l2-learning] hierarchy level: