160Configuring SNMP

To specify a key, use the encrypt-keyhex-stringoption.

Command Examples

The following command creates USM user snmpmgr1, associated with the local SNMP engine ID. This user can send traps to notification receivers.

23x0# 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.

23x0# 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.

320657-A

Page 160
Image 160
Nortel Networks 2300 manual Command Examples, 23x0# set snmp usm snmpmgr1 snmp-engine-id local