Configuring and Enabling Traps on Luna Network HSM 7

Use the following procedure to configure and enable traps on a Luna Network HSM 7 appliance.

To configure and enable traps on Luna Network HSM 7

1.Add an SNMP user to the system.

lunash:> sysconf snmp user add -secname <secname> -authpassword <password> -authprotocol <protocol> -privpassword <password> -privprotocol <protocol>

lunash:>sysconf snmp user add -secName pete -authPassword PASSWORD -authProtocol SHA -privPassword PASSWORD -privProtocol AES

2.Set SNMP trap parameters for the user created in the preceding step.

lunash:> sysconf snmp trap set -host <hostname/IP> -secname <secname> -engineid <engineID> -authprotocol <protocol> -authpwd <password> -privprotocol <protocol> -privpwd <password> [-traptype <type>]

lunash:>sysconf snmp trap set -h 192.168.0.100 -secName pete -e 1234567890 -authpr SHA -authpw PASSWORD -privPr AES -privPw PASSWORD

The -engineid parameter is user-defined; set any hex number, omitting the 0x or 0X.

NOTE   Luna Network HSM 7 does not support dynamic discovery of the EngineID, once configured; ensure that you save or remember this value.

Repeat this step to configure multiple trap host targets.

3.Enable and disable SNMP traps.

lunash:> sysconf snmp trap enable

lunash:> sysconf snmp trap disable

4.Restart the system logging service.

lunash:> service restart syslog

5.Enable SNMP traps once again.

lunash:> sysconf snmp trap enable