You are on page 1of 1

Example 3: SNMPv3 with AuthPriv (Full end to end Encryption)

This example uses full encryption for authentication and end-to-end communication.
This would be a preferred configuration.

Step 1: Create a Group (set security to priv)


Switch(config)#snmp-server group group3 v3 priv
Step 2: Create a User
Here I create user3 and assign it to group3, set the authentication password and
encryption then set the password and encryption for end-to-end communication.

Switch(config)#snmp-server user user3 group3 v3 auth sha mypassword1 priv aes 256
privpassword1

(Didnt work with AES 256)


(works fine with AES 128)

The problem is with your setup, not John's, so I think it's better if you provide
the following:
1. Demonstrate that SNMP is working on the target device, by showing an snmpwalk
command line which succeeds
2. Show what changes you've made to snmp.yml
3. Show how you're testing snmp_exporter (e.g. the curl command line you're using)
4. Show what error message you're getting back

There are lots of reasons why SNMP won't respond:


- target device is offline, traffic blocked by a firewall/ACL, or not running an
SNMP agent
- client is using wrong SNMP version and/or wrong SNMP credentials
- unssuported encryption or authentication algorithm.
- target device has an SNMP ACL that does not include the client's IP address

You might also like