Simulating Events (precisealarm)
Function
The precisealarm command is used to simulate the events defined by the iBMC.
Format
ipmcset -t precisealarm -d mock -v {eventcode |stopall} [subjectindex] eventstatus
Parameters
Parameter |
Description |
Value |
---|---|---|
eventcode |
Specifies the code of the event to be simulated. |
NOTE:
|
stopall |
Stops all the events being simulated. |
– |
subjectindex |
Specifies the number of the event corresponding to the specified subject type. |
Obtain the event number as follows:
|
eventstatus |
Specifies the status of the event. |
|
Usage Guidelines
- When eventcode is 0xffffffff or 0x**ffffff, the subjectindex parameter cannot be specified.
- When eventcode is an event code, subjectindex can be specified to simulate an event for the specified object.
Example
# Simulate an event with the event code of 0x2C000025.
iBMC:/->ipmcset -t precisealarm -d mock -v 0x2C000025 assert
Precise alarm mock successfully.