Users Guide
RACADM Subcommand Overview 323
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 A-48 provides a list and associated commands for the cfgIpmiPet
group.
Input
Table A-49 describes the testtrap subcommand options.
Table A-48. 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 A-49. 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.