Setting the SNMP Trap Port Number (trap -d port)
Function
The trap -d port command is used to set the SNMP trap port number of the iBMC.
Format
ipmcset -t trap -d port -v <destination> <portvalue>
Parameters
Parameter |
Description |
Value |
---|---|---|
destination |
Identifies an SNMP trap destination. |
Value range: 1 to 4 |
portvalue |
Specifies the SNMP trap port number. |
Value range: 1 to 65535 Default value: 162 |
Usage Guidelines
None
Example
# Set the port number for SNMP trap destination 1 to 1024.
iBMC:/->ipmcset -t trap -d port -v 1 1024
Set trap dest1 port successfully.