Here is what we use:
Depending how you got to 16.x code you may need to run:
device-tracking upgrade-cli
Enable glean only mode for device tracking:
device-tracking policy LEARN_IP
security-level glean
tracking enable
Apply the tracking policy to an interface:
interface gig ?/?
device-tracking attach-policy LEARN_IP