Time for action – set up SNMP on Cisco devices
Let's now look at how to add the SNMP configuration of the preceding section to a Cisco device.
Logon to your network device.
Go into enable mode:
enable
Go into configure mode:
configure terminal
Copy and paste, or manually enter, the SNMP commands from the preceding section.
Press CTRL+Z.
Save the configuration:
write mem
View the current configuration:
sh run
What just happened?
You just configured a Cisco network device to allow SNMP polls from your Cacti server. You also set up access lists to limit the hosts that are allowed to poll the device using SNMP.
Adding Cisco switch to Cacti
Now that you have configured the SNMP agent of the device, you can add it to Cacti.