In this study a method for P2P traffic identification was proposed based on utilizing semi-supervised affinity propagation clustering aimed at accurately identifying P2P traffic with as few labeled samples as possible.Firstly,a small amount of samples were labeled.Secondly,the labeled as well as the unlabeled samples were configured with different preference parameters,which made it more likely for the labeled samples to become exemplars,as opposed to the unlabeled samples.Thirdly,all samples were clustered...