System Management Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

PDF

System Management Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

SNMP versions

Want to summarize with AI?

Log in

This section explains SNMP versions, the different iterations of the Simple Network Management Protocol, and their major distinguishing attributes for network management and monitoring.


A SNMP version is a network protocol specification that

  • supports communication between network managers and managed devices,

  • varies in security models and message handling, and

  • introduces different feature sets such as bulk retrieval or enhanced authentication.

  • SNMPv1: Operates with basic community-based security, providing read-only access using a shared password.

  • SNMPv2c: Adds bulk retrieval for optimizing requests and provides more detailed error reporting while retaining community-based security.

  • SNMPv3: Integrates a security model supporting authentication and privacy, allowing for stricter access control and standards compliance (RFCs 3411–3418).

SNMPv1 and SNMPv2c rely on defined communities for access control, usually controlled via IP address lists and passwords. SNMPv2c introduces mechanisms that reduce network traffic by allowing the retrieval of larger sets of data in fewer transactions, as well as extended error codes to aid troubleshooting.

SNMPv3 advances the protocol by providing configurable security levels, such as no authentication (noAuthNoPriv), authentication without privacy (authNoPriv), and authentication with privacy (authPriv), thereby allowing different security requirements per deployment.


Comparison of SNMPv1, SNMPv2c, and SNMPv3 feature support

SNMP Operations

  • get-request: Retrieves a value from a specific variable.

  • get-next-request: Retrieves the value of the variable that comes after the named variable, enabling sequential searching within a MIB table.

  • get-response: Sends a response to a get-request, get-next-request, or set-request initiated by an NMS.

  • set-request: Stores a value in a specific variable.

  • trap: An SNMP agent sends an unsolicited message to an SNMP manager when an event occurs.

Table 1. SNMP Feature Support Comparison

Feature

SNMPv1

SNMPv2c

SNMPv3

Get-Bulk Operation

No

Yes

Yes

Inform Operation

No

Yes

*
Yes*
64 Bit Counter No Yes Yes
Textual Conventions No Yes Yes
Authentication No No Yes
Privacy (Encryption) No No Yes
Authorization and Access Controls (Views) No No Yes

**Not supported on Cisco IOS XR software