Enabling SNMP on Cisco Routers

Our SNMP Scan App searches for SNMP enabled devices. This usually finds printers, home routers and other networked devices. By default, however, Cisco IOS devices won’t be found, and can’t be graphed. This is because Cisco IOS disables SNMP by default.

Here’s to safely enable it.

  1. Login to your router, switch or access point.
  2. Enter configuration mode (config term)
  3. Setup an access list on which network you will allow SNMP requests to come from. In our example, we’ll use the network. So we enter
    access-list 30 permit
  4. Enable SNMP – pick your community name. In our example, we’ll use ‘netfunctional’ as the community name.
    snmp-server community netfunctional RO 30

    This lets any device which matches Access List 30 talk to our Cisco device using the SNMP community ‘netfunctional’.

  5. Exit configuration mode – enter
  6. Save the configuration – enter
    write memory

Note that these instructions will likely work for Juniper, Foundry Networks and other devices which use Cisco IOS-like syntax for configuration. For more information, see Cisco’s Cisco IOS Configuration – SNMP Chapter.

Tags: , , ,