Nowadays on the Internet, there is a huge and growing expanse of unsought traffic like phishing, spam and distributed access denied service attacks. To solve this problem we can generally filter unsought traffic on routers based on the source IP addresses. Since the boundless number of existing filters in routers now are aggregation used in practice: a sole filter and block defines a variety of IP addresses. Consequently blocking of all (unsought and desired) traffic caused from hosts with IP addresses in that range. Here, a set of algorithms is been established that specified a blacklist containing the source IP addresses of unsought traffic and a limitation on the number of sieving, build a set of sieving rules that enhance the interchange between the unsought and valid traffic is blocked and permits furtive distribution amongst a group of members with Multiprotocol label switching(MPLS). Furthermore, to illustrate that precise good when applied to realistic sharing of causes of unsought traffic, that is said to exhibit space and time elements clustering. But it is exclusive to block valid traffic from the prefix filtering. We will show how to choose optimal prefix to filter for different situations, attacking political entrepreneurs.