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.

  1. Logon to your network device.
  2. Go into enable mode:
    enable
    
  3. Go into configure mode:
    configure terminal
    
  4. Copy and paste, or manually enter, the SNMP commands from the preceding section.
  5. Press CTRL+Z.
  6. Save the configuration:
    write mem
    
  7. 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.

Get Cacti 0.8 Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.