Users Guide
338 RACADM Subcommand Overview
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-49 provides a list and associated commands for the
cfgIpmiPet
group.
Input
Table A-50 describes the
testtrap
subcommand options.
Supported Interfaces
•Local RACADM
• Remote RACADM
• Telnet/SSH/Serial RACADM
Table A-49. 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-50. 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.