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
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

iDRAC 8/7 v2.70.70.70 RACADM CLI Guide

PDF

testtrap

Table 1. Details of testtrap attributeThe following table provides the details of testtrap attribute:
Description Tests the RAC’s SNMP trap alerting feature by sending a test trap from iDRACCMC 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 1
    racadm set iDRAC.SNMP.Alert.1.Enable 1 
  • 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: <>()\