Querying SNMP Trap Destination Information (trap -d trapiteminfo)
Function
The trap -d trapiteminfo command is used to query SNMP trap destination information, which includes the SNMP trap state, IP address, and port number.
Format
ipmcget -t trap -d trapiteminfo
Parameters
None
Usage Guidelines
None
Example
# Query SNMP trap destination information.
iBMC:/->ipmcget -t trap -d trapiteminfo
TrapItem Num | state | port | alert address
1 | enabled | 1024 |
2 | disabled | 162 |
3 | disabled | 162 |
4 | disabled | 162 |