This is an old revision of the document!


SNMP

snmp-server view MYVIEW iso included
snmp-server group myGroupName_RO v3 priv read MYVIEW access 2
snmp-server user myUserName myGroupName _RO v3 auth sha pa$$word priv aes 128 myEncryptionKey! access 2

Note: the 'access 2' in above config refers to access list 2 - where the IP address of the client is detailed.

How to view the SNMP user details once configured

router#show snmp user
User name: myUserName
Engine ID: 500000000000000000000001
storage-type: nonvolatile        active access-list: 2
Authentication Protocol: SHA
Privacy Protocol: AES128
Group-name: myGroupName_RO

Note: SNMP passwords are localized using the SNMP engine ID of the authoritative SNMP engine. For SNMP notifications such as inform requests, the authoritative SNMP agent is the remote agent. You must configure the SNMP engine ID of the remote agent in the SNMP database before you can send proxy requests or inform requests to it.

This is the case for all SNMP v3 devices -i.e. part of the standard.

Reference: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/snmp/configuration/xe-3se/3850/snmp-xe-3se-3850-book/nm-snmp-snmpv3.html

  • tech-notes/snmp.1610099964.txt.gz
  • Last modified: 2021/01/08 09:59
  • by gerardorourke