device# configure terminal
device(config)# vlan 50
device(config-Vlan-50)# mac access-group test_02 in