Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell SmartFabric OS10 User Guide Release 10.5.3

PDF

Generate SNMPv3 localized keys

The user-based security model in SNMP v3 offers strong authentication and encryption using the following algorithms:

  • Authentication algorithms—MD5 and SHA
  • Encryption algorithms—DES and AES-128

While configuring SNMP users, instead of using plain text passwords, you can use localized keys that are encrypted using authentication and encryption algorithms. To generate the localized keys, use the Snmpkey utility in Linux. Ensure that you have the following packages installed in the Linux server to generate the localized keys:

  • libnet-snmp-perl
  • libcrypt-des-perl
  • libdigest-hmac-perl
  • libcrypt-rijndael-perl

Use the following command to generate the localized keys that you can use when configuring a user:

snmpkey {md5 | sha} authpassword engineID [des | 3des | aes] privpassword

where authpassword is the password that you specify for the authentication protocol, engineID is the local engineID, and privpassword is the password that you specify for the privacy protocol.

Use the show snmp engineID local command to view the local engineID.

OS10# show snmp engineID local

Local default SNMP engineID: 0x800002a2036c2b59fbd8a0

Enter the following command on the Linux server where you have the Snmpkey utility installed:

snmpkey md5 testauthpasswd 0x800002a2036c2b59fbd8a0 des testprivpasswd
authKey: 0xaa5bb0eb6e6a9f036dc548e4ad9405f8
privKey: 0xaa5bb0eb6e6a9f036dc548e4ad9405f8

The system generates the authentication and privacy keys.

Use the localized keys while configuring the SNMP user.

OS10(config)# snmp-server user user3 Group3 3 localized auth md5 0xaa5bb0eb6e6a9f036dc548e4ad9405f8 priv des 0xaa5bb0eb6e6a9f036dc548e4ad9405f8

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\