- Log into the switch
- ""enable"" and the password
- Get into config mode ""conf t"" and press enter
- Type ""snmp-server community mypublic RO"" and press enter
- Type exit
- Type wr and press enter
- Type copy r s ""copy run start"" and save the config by pressing enter.