Help Docs

How can I enable SNMP on Cisco IOS, IOS-XR, and IOS-XE network devices?

SNMP enables you to monitor your Cisco IOS devices and send information to Site24x7's On-Premise Poller by configuring its SNMP agent.

Configuring SNMP v1 and v2c

  1. Connect to the Cisco device using SSH, Telnet, or the device console.
  2. To enter enable mode, type enable and provide the appropriate password, if needed.
  3. To enter global configuration mode, type configure terminal.
  4. Enable SNMP v1 by entering the following command:
    snmp-server community <community-string> to
    Note

    Replace <community-string> with the required SNMP community string. Due to it acting as a password for SNMP access, choose a strong and secure community string.

  5. Exit configuration mode by typing exit next to the prompt.
  6. Save the configuration by typing write.

Configuring SNMP v3

  1. Connect to the Cisco device using SSH, Telnet, or the device console.
  2. For privileged mode, type enable and provide the appropriate password, if needed.
  3. To enter global configuration mode, type configure terminal.
  4. Enable SNMP v3 by entering the following commands:
    snmp-server group [group-name {v1 | v2c | v3 [auth | noauth | priv]}] [read read-view] [write write-view] [notify notify-view] [access access-list]
    snmp-server user user-name group-name [remote ip-address [udp-port port]] {v1 | v2c | v3 [encrypted] [auth {md5 | sha} auth-password]} [access access-list]
    Ensure that you replace the following parameters with the appropriate values for each combination of SNMP v3 security models and levels:
    • <noAuthNoPriv> - Uses an SNMP v3 username for authentication.
    • <authNoPriv> - Authenticates based on the Hashed Message Authentication Code (HMAC MD5 or SHA) algorithms.
    • <authPriv> - Authenticates based on the HMAC-MD5 or HMAC-SHA algorithms. Additionally, provides DES 56-bit encryption based on the Cipher Block Chaining (CBC)-DES (DES-56) standard.
  5. Exit configuration mode by typing the command end

For more information, please refer to Cisco's official documentation:

Was this document helpful?

Would you like to help us improve our documents? Tell us what you think we could do better.


We're sorry to hear that you're not satisfied with the document. We'd love to learn what we could do to improve the experience.


Thanks for taking the time to share your feedback. We'll use your feedback to improve our online help resources.

Shortlink has been copied!