The following example shows how to send traps with "public" as the community name. The traps are sent to
the manager of port 162 with IP address 192.168.0.162.
trapsink 192.168.0.162 public 162 ##SNMPv1 trap setting
trap2sink 192.168.0.162 public 162 ##SNMPv2 trap setting
SNMPv3 trap setting
trapsess SNMPCMD_ARGS HOST[:PORT]# SNMPv3 trap setting
The setting defines the host receiving the trap (i.e., the trap destination). As an alternative to specifying PORT, you
can use the general-purpose SNMP trap port (162).
The following options are the main options specified with SNMPCMD_ARGS.
-v version:
This option specifies the SNMP version. For SNMPv3, specify 3.
-e engineID:
This option specifies the oldEngineID value. The /var/net-snmp/snmpd.conf file at the trap source contains
this value.
-u secName:
This is the account for SNMPv3. This setting must match that on the manager side.
-l secLevel:
This option specifies one of the values listed in
according to the security level
of SNMPv3 messages.
TABLE 6.6 secLevel settings
Setting value
Authentication
Encryption
noAuthNoPriv
Not set
Not set
authNoPriv
Set
Not set
authPriv
Set
Set
-a authProtocol:
This is the protocol for SNMPv3 message authentication. Either MD5 or SHA is specified. To use SHA,
install openssl and create a package with openssl. The option takes effect only if the security level in the -l
option includes authentication. Otherwise, you can omit the option.
PRIMEQUEST 1000 Series Installation Manual
CHAPTER 6 Work after Operating System Installation (PRIMEQUEST 1800E)
142
C122-E107-09EN