SVmco User Guidel
26
A Cold Start trap is sent to the defined host during snmpd startup. If the
partition is set to send SNMP traps, a trap is sent from the partition
following any authentication failure.
You can specify multiple trap destinations by specifying multiple hosts
on the trapsink and trap2sink lines.
As an alternative to specifying COMMUNITY, you can specify a character
string on the trapcommunity line. The trapcommunity command defines a
default community character string for sending traps. To use
trapcommunity to set a community character string, specify the string
before the trapsink and trap2sink lines.
trapcommunity STRING
# Community name setting
As an alternative to specifying PORT, you can use the general-purpose
SNMP trap port (162).
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.