Configuration of SNMP on Cisco devices will vary slightly depending on the type — but in general they are nearly identical. Here are some links to Cisco documents:
SNMP Configuration Guide, Cisco IOS Release 12.4T
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide, 12.1
How to Configure SNMP Community Strings