Configure SNMP V3 User

You can configure SNMP v3 users and authenticate them to query the NPB application with Get and GetNext requests. You can reuse the SNMP v3 user configuration to configure SNMP v3 trap.

Before you begin

Only admin users can perform this procedure.

About this task

You can use the AES or DES method to encrypt the query data in transit.

Procedure

  1. Enter the Config mode.
    device# configure terminal
    device(config)# 
  2. Configure the SNMP v3 user.
    snmp-server { user [ user name ] auth [ noauth | md5 | sha ] auth-key [ auth-key ] priv [ nopriv | aes | des ] priv-key [ priv-key ] }
    Non-admin users have READ-only permissions.

Example

The following example configures an SNMP server user.

device(config)# snmp-server user user8 auth sha auth-key authKey1 priv aes priv-key user1privkey 
 
device(config)# snmp-server user user2 auth md5 auth-key authkey12 priv nopriv 

device(config)# snmp-server user user3 auth noauth