Reference Guide

68 RACADM Subcommand Details
Synopsis
racadm testtrap -i <index>
Description
The testtrap subcommand tests the RAC’s SNMP trap alerting feature by
sending a test trap from the iDRAC6 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. For more
information, see "cfgIpmiPet" on page 130.
Table 2-22 provides a list and associated commands for the cfgIpmiPet
group.
Input
Table 2-23 describes the testtrap subcommand options.
Table 2-22. 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 2-23. 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.