Enable SNMP in Cisco router

What is SNMP?

SNMP, known as Simple Network Management Protocol, was found to solve complex network environment with complex network devices. SNMP uses a standardized protocol for quering devices on the network, providing network admins vital information that they need to keep the network environment stable and away from downtime.

Why to enable SNMP in Cisco devices?

SNMP plays a key role in management of network devices hassle-free. If you are a large enterprise with approximately 10,000 devices in your network environment, you need to enable SNMP so that all the devices' information is known to network admins. In similar way, if your network environment also consists of Cisco devices in them, this page provides steps to enable SNMP in Cisco routers as well as enable SNMP in Cisco switches (Cisco router SNMP configuration/Cisco switch SNMP configuration).

You will be able to create the corresponding Configlet commands to configure Cisco routers or to configure Cisco switches using Network Configuration Manager. This will help you perform the same operation on multiple devices simultaneously.

If you don't have NCM installed, please click here to download and install the application and then enable SNMP in Cisco switch/router.

Steps for configuring or enabling SNMP in Cisco router/switches 

  1. Login to the device using SSH / TELNET and go to enable mode.
  2. Go into the config mode.
  3. Router#configure terminal

    Enter configuration commands, one per line. End with CNTL/Z.

    Router(config)#

  4. Use the below command to configure read-only community string
  5. Router(config)#snmp-server community public RO

    (Where "public" is the read community string.)

  6. Use below command to configure the read-write community string
  7. Router(config)#snmp-server community private RW

    (Where "private" is the read-write community string)

  8. Exit the configuration mode
  9. Router(config)#exit

    Copy the running configuration into startup configuration using below command

    Router#write memory

    Building configuration... [OK]

    Router#

The corresponding configlet can be created in NCM application as shown in below screenshot.

Enable SNMP Cisco Router - ManageEngine Network Configuration Manager

Also you can click the below button to download the Configlet as XML and import it into NCM application using file import option.

Download Configlet XML
SHA256 value
e76ca055cd9ff127ba7bfa08e1bbce6b6d2ca5c22c759a2a768217abd124f025
Click to copy SHA256 value
Configlet Name Enable SNMP Cisco
Description This configlet is used to enable SNMP in Cisco Routers / Switches on multiple devices simultaneously.
Execution Mode Script Execution Mode
Configlet Content

configure terminal
snmp-server community $READ-ONLY-COMMUNITY RO
snmp-server community $READ-WRITE-COMMUNITY RW
exit
write memory

FAQs for enabling SNMP in Cisco routers and switches

How to enable SNMP in Cisco switches?

+

How to configure SNMP in Cisco switches?

+

How to enable SNMP in Cisco routers?

+

How to configure SNMP in Cisco routers?

+