Users Guide

224 RACADM Subcommand Overview
testtrap
NOTE: To use this command, you must have Test Alerts permission.
Table 13-43 describes the testtrap subcommand.
Synopsis
racadm testtrap -i <index>
Description
The testtrap subcommand tests the RAC’s SNMP trap alerting feature by sending a test trap from the
RAC to a specified destination trap listener on the network.
Before you execute the testtrap subcommand, ensure that the specified index in the RACADM
cfgIpmiPet group is configured properly.
Table Table 13-41 provides a list and associated commands for the cfgIpmiPet group.
Input
Table 13-45 describes the testtrap subcommand options.
Table 13-43. testtrap
Subcommand Description
testtrap Tests the RAC’s SNMP trap alerting feature.
Table 13-44. cfgEmailAlert Commands
Action Command
Enable the alert racadm config -g cfgIpmiPet -o cfgIpmiPetAlertEnable
-i 1 1
Set the destination e-mail IP
address
racadm config -g cfgIpmiPet -o
cfgIpmiPetAlertDestIpAddr -i 1 192.168.0.110
View the current test trap settings racadm getconfig -g cfgIpmiPet -i <index>
where <index> is a number from 1 to 4
Table 13-45. testtrap Subcommand Options
Option Description
-i Specifies the index of the trap configuration to use for the test Valid values are
from 1 to 4.