MAC accounting can be enabled for a specified broadcast domain, allowing the device to collect Layer 2 traffic statistics of the target domain based on MAC addresses.
Before configuring MAC accounting for a broadcast domain, complete the broadcast domain configuration.
MAC accounting applies only to the BD and VSI types of broadcast domains.
The system view is displayed.
Enable MAC accounting for a BD.
The BD view is displayed.
MAC accounting is enabled for the BD.
Enable MAC accounting for a VSI.
The configuration is committed.
After configuring MAC accounting for a broadcast domain, run the display mac-address verbose command to check the MAC address-based traffic statistics of the domain.