Quick Reference Guide
RACADM Subcommands 91
Example
racadm testemail -i 1
Test email sent successfully.
testtrap
NOTE: To use this subcommand, you must have Test Alert User privilege.
Description
Tests the CMC SNMP trap alerting feature by sending a test trap from the
CMC to a specified destination trap listener on the network.
NOTE: This command is valid only if SNMP alerts are enabled on the CMC. For
more information about SNMP alerts, see the "Configuring SNMP Alerts" section in
the CMC User’s Guide.
Usage
racadm testtrap -i <index>
Options
Table 2-43 describes the testtrap subcommand options.
Example
racadm testtrap -i 4
Test trap sent successfully.
Table 2-42. testemail Subcommand Options
Option Description
-i <index> Specifies the index of the email alert to test.
Table 2-43. testtrap Subcommand Options
Option Description
-i <index> Specifies the index of the trap configuration to use for the test.
Legal values: 1–4