Requirements
1- First create a community and grant Read&Write rights to this community.
en
conf t
snmp-server community community-name rw
copy running-config startup-config
2- Configure tftp, ftp etc services on the server which will be sending the commands.
3- Create a directory including the file containing the commands to be sent.