Nortel 2350 用户指南
156 Configuring SNMP
NN47250-500 (320657-F Version 02.01)
•
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. Type a string at least 8 characters long for DES or 3DES, or at least 12 characters
long for AES.
characters long, with no spaces. Type a string at least 8 characters long for DES or 3DES, or at least 12 characters
long for AES.
•
To specify a key, use the encrypt-key hex-string option. Type a 16-byte hexadecimal string.
Command examples
The following command creates USM user snmpmgr1, associated with the local SNMP engine ID. This user can send
traps to notification receivers.
traps to notification receivers.
WSS
# 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 notification receiver that has engine ID 192.168.40.2.
passphrases. This user can send informs to the notification receiver that has engine ID 192.168.40.2.
WSS
# 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
auth-pass-phrase myauthpword encrypt-type 3des encrypt-pass-phrase mycryptpword
success: change accepted.