Querying and Setting SNMPv3 Authentication and Privacy Protocols (trap -d protocol)
Function
The trap -d protocol command is used to query and set the authentication and privacy protocols for SNMPv3 trap.
Format
ipmcget -t trap -d protocol
ipmcset -t trap -d protocol -v <option>
Parameters
Parameter |
Description |
Value |
---|---|---|
option |
Specifies the authentication and privacy protocols for SNMPv3 trap. |
Value:
Default value: 6 |
Usage Guidelines
iBMC V3.01.12.01 or later do not support this command.
- The same authentication and privacy protocols must be configured on the SNMP server.
- The configured authentication and privacy protocols also apply to SNMPv3 at the same time.
- Using MD5, SHA, and DES may pose security risks. You are advised to use SHA256 and AES.
Example
# Set the SNMPv3 trap authentication and privacy protocols.
iBMC:/->ipmcset -t trap -d protocol -v 4
Set SNMP trap authentication and privacy protocol successfully.
# Query the SNMPv3 trap authentication and privacy protocols.
iBMC:/->ipmcget -t trap -d protocol
Trap protocol :
Authentication : SHA
Privacy : AES