User`s manual
119
DWS-1008 User’s Manual
D-Link Systems, Inc.
Conguring SNMP
The auth-type option species the authentication type used to authenticate communications
with the remote SNMP engine. You can specify one of the following:
• none - No authentication is used. This is the default.
• md5 - Message-digest algorithm 5 is used.
• sha - Secure Hashing Algorithm (SHA) is used.
If the authentication type is md5 or sha, you can specify a passphrase or a
hexadecimal key.
• To specify a passphrase, use the auth-pass-phrase string option. The string
can be from 8 to 32 alphanumeric characters long, with no spaces.
• To specify a key, use the auth-key hex-string option.
The encrypt-type option species the encryption type used for SNMP trafc. You
can specify one of the following:
• none - No encryption is used. This is the default.
• des - Data Encryption Standard (DES) encryption is used.
• 3des - Triple DES encryption is used.
• aes - Advanced Encryption Standard (AES) encryption is used.
If the encryption type is des, 3des, or aes, you can specify a passphrase or a
hexadecimal key.
• To specify a passphrase, use the encrypt-pass-phrase string option. The
string can be from 8 to 32 alphanumeric characters long, with no spaces.
• To specify a key, use the encrypt-key hex-string option.
Command Examples
The following command creates USM user snmpmgr1, associated with the local
SNMP engine ID. This user can send traps to notication receivers.
DWS-1008 set snmp usm snmpmgr1 snmp-engine-id local
success: change accepted.
The following command creates USM user securesnmpmgr1, which uses SHA
authentication and 3DES encryption with passphrases. This user can send informs
to the notication receiver that has engine ID 192.168.40.2.
DWS-1008 set snmp usm securesnmpmgr1 snmp-engine-id ip 192.168.40.2
auth-type sha auth-pass-phrase myauthpword encrypt-type 3des
encrypt-pass-phrase mycryptpword
success: change accepted.