Hi!
You can configure the ACL to match the MAC address.
To configure the ACL to match the MAC address, please refer to the below command:
acl { [ number ] acl-number | name acl-name { [ number ] acl-number | link } }
The range of the ACL number is 4000-4999.