An Oxford man has received a suspended prison sentence for two counts of possessing drugs.