Well if, for example, you're talking about link-change traps you can disable traps for all ports with:
no snmp-server enable traps link-change all
and then just enable the ones you want.
You can also set the level of traps sent with the command:
snmp-server host <IP address=""> <TRAP type="">
it really depends on what traps you want to restrict.
</TRAP></IP>