Multi SNMP communities and traps

I use multiple data-gathering resources that use SNMP to get information, each with its own community name and IP for traps. Does anyone know of a way to have multiple community names and traps for SNMP V1\V2? On Cisco, this could be done from the CLI. I don’t want SNMP on CN devices to respond to just anything that requests it—only specific trap servers.