Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

Integrated Dell Remote Access Controller 8 (iDRAC8) and iDRAC7 Version 2.10.10.10 RACADM Command Line Interface Reference Guide

PDF

testtrap

Description Tests the RAC’s SNMP trap alerting feature by sending a test trap from CMC to a specified destination trap listener on the network.

To run this subcommand, you must have the Test Alert permission.

  • NOTE:
    • Before you run the testtrap subcommand, make sure that the specified index in the RACADM iDRAC.SNMP.Alert group is configured properly.

    • The indices of testtrap subcommand is co-related to the indices of iDRAC.SNMP.Alert group.

  • NOTE: Before you run the testtrap subcommand, make sure that the specified index in the cfgAlerting group is configured properly.
Synopsis
racadm testtrap -i <index>
Input -i <index> — Specifies the index of the trap configuration that must be used for the test. Valid values are from 1 to 4.
Example
  • Enable the alert.
    racadm set idrac.emailalert.1.CustomMsg 
                                                          racadm set iDRAC.SNMP.Alert.1.Enable 
                                                       
  • Set the destination email IP address.
    racadm set iDRAC.SNMP.Alert.1.DestIpAddr 
                                                          192.168.0
                                                       
  • View the current test trap settings.
    racadm get iDRAC.SNMP.Alert.<index>

    where <index> is a number from 1 to 8

  • Send a test trap to the destination configured for index 1:
    racadm testtrap -i 1
                                                          
                                                       

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\