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

Configure SNMPv3

Want to summarize with AI?

Log in

Use this procedure to configure SNMPv3 for secure and efficient network management and monitoring on Cisco devices.


Use this task to enable and configure SNMPv3 on your device.

Starting with Cisco IOS XR Release 26.3.1,

  • SNMP secure-v3 enforces authentication and encryption for every configured user. For more information, see Configure SNMP secure-v3.

  • Legacy SNMPv1, SNMPv2c, and SNMPv3 configurations are deprecated but remain supported. If a deprecated SNMP configuration remains active, the router logs a deprecation warning every 30 days.

SNMPv3 provides network monitoring and management with enhanced security features such as authentication and encryption.

Note

No specific command enables SNMPv3; the first snmp-server global configuration command (config), that you issue enables SNMPv3. Therefore, the sequence in which you issue the snmp-server commands for this task does not matter.

Procedure

  1. Specify the identification number of local SNMP engine.

    Example:

    Router#configure
    Router(config)# snmp-server engineID 
    local 00:00:00:09:00:00:00:a1:61:6c:20:61

    Specifies the identification number of the local SNMP engine.

  2. Configure a new SNMP group or a table that maps SNMP users to SNMP views.

    Example:

    Router(config)#snmp-server group 
    group_name v3 noauth read view_name1 write view_name2
  3. Configure a new user to SNMP group.

    Example:

    Router#snmp-server user noauthuser group_name v3
  4. Display information about the status of SNMP.

    Example:

    Router#show snmp
  5. Display information about the local SNMP engine.

    Example:

    Router#show snmp group
  6. Displays information about each SNMP username in the SNMP users table.

    Example:

    Router#show snmp users
  7. Display information about the configured views, including the associated MIB view family name, storage type, and status.

    Example:

    Router#show snmp view