How to match the MAC address?

I want to trigger event about MAC.
How to match the MAC address?