First, you need to access the console of your MikroTik router. On the prompt screen, enter the administrative login information. Factory default access information:
- Username: admin
- Password: (No password)
After a successful login, the console command-line will be displayed. Use the following command to enable the SNMP service on the MikroTik router.
Copy to Clipboard
[admin@MikroTik] > snmp set enabled=yes
Use the following command to list the snmp communities available on the MikroTik router.
[admin@MikroTik] > snmp community print Flags: * - default # NAME ADDRESSES SECURITY READ-ACCESS 0 * public ::/0 none yes
As you can see, Mikrotik has a default SNMP community named PUBLIC.
The PUBLIC SNMP comminity has the ID number 0.
Use the following command to rename the PUBLIC snmp community.